• Resolved cherianthomas

    (@cherianthomas)


    Installed the plugin here: https://d.pr/i/silaro but its not showing up. Here’s the page: https://www.alittlebitofspice.com/soya-chunks-masala-dry-recipe

    Should I be doing anything to the youtube links? I use a recipe plugin (WP Recipe Maker) and the video is added via its interface: https://d.pr/i/zvMMG6 . This allows for video to be part of the recipe structured data scheme (which also means I can’t just post the link anywhere else in the blog post)

    In the post it ends up like this:

    <span data-sheets-value=”{"1":2,"2":"<div id="wprm-recipe-video-container-105239" class="wprm-recipe-video-container"><div class="wprm-recipe-video"><div class="jetpack-video-wrapper"><iframe width="640" height="360" src="https://www.youtube.com/embed/a5_8m5TlH4M?feature=oembed&quot; frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div></div></div>"}” data-sheets-userformat=”{"2":8403459,"3":{"1":0},"4":{"1":2,"2":16777215},"12":0,"14":{"1":2,"2":5789784},"15":"\"Helvetica Neue\", Helvetica, Arial, sans-serif","16":11,"26":400}”><div id=”wprm-recipe-video-container-105239″ class=”wprm-recipe-video-container”><div class=”wprm-recipe-video”><div class=”jetpack-video-wrapper”><iframe src=”https://www.youtube.com/embed/a5_8m5TlH4M?feature=oembed&#8221; frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen=”” data-ratio=”0.5625″ data-width=”640″ data-height=”360″ style=”display: block; margin: 0px; width: 640px; height: 360px;”></iframe></div></div></div></span>

    Besides setting the API key, I did not do anything else expecting WP YouTube Lyte to pick it up.

    What am I doing wrong?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Well, the problem is that LYTE by default only acts on the_content, which is the main content field of posts and pages.

    you can have lyte act on other (custom) fields, but you need to tell it to with some “glue code”. for that you’ll need to know if wp recipes has a filter for the field that contains the video URL, if you can find out I can give you (example) code to do just that.

    frank

    Thread Starter cherianthomas

    (@cherianthomas)

    Passed on the short cut into the recipe custom field and it worked. Thanks a lot.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Happy to read so cherianthomas! Feel free to leave a review of the plugin and support here! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installed plugin and added API key but not working with Recipe plugin’ is closed to new replies.