• Resolved platefulofveggies

    (@platefulofveggies)


    Hi!

    I am new to blogging and still figuring out how to troubleshoot. My embedded video inside WP recipe maker is not working. I can see it and play it when am editing the post. They disappear when i preview or publish the post.

    I tried using [wprm-recipe-video] shortcode and that too gives me the same issues. I am unable to figure out a solution. May i also know the attributes to use with this shortcode?

    Thanks for your help!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brecht

    (@brechtvds)

    What’s the exact embed code you’re adding? Do you have any other video related plugins active or does your theme include any video feature?

    The attributes for the shortcode are basically what you find through the UI in the Template Editor: https://help.bootstrapped.ventures/article/53-template-editor

    Once you have it set up the way you want you can find the shortcode under “Edit HTML”.

    Thread Starter platefulofveggies

    (@platefulofveggies)

    Hi,

    Thank you for your reply.

    In UI of WPRM Recipe block, under ‘Video’ I added the URL to my youtube video.

    I also tried to put it outside of WPRM Recipe block by using the shortcode
    [wprm-recipe-video src=”the url”]

    I don’t have any video related plugins. I use Rank Math for SEO. I currently have the free version of Kale as my theme and i think it does not include any video feature other than being responsive.

    Thank you.

    Plugin Author Brecht

    (@brechtvds)

    It’s most likely some kind of compatibility problem.

    Try disabling all other plugins for a second and see if it works then.
    If not, try switching to a default theme (like Twenty Seventeen) and check again.

    An easy way to do these tests without interrupting your visitors is using the “Troubleshoot Mode” in the Health Check plugin: https://ww.wp.xz.cn/plugins/health-check/

    There’s some more information about how to use that over here:
    https://make.ww.wp.xz.cn/support/handbook/appendix/troubleshooting-using-the-health-check/#troubleshooting

    I’ve been having the exact same problem posting my Youtube videos in the recipe plugin. I tried to deactivate some other plugins, but that didn’t work. I also changed the theme, but then the video sizing wasn’t accurate.

    I’m also using the same Kale theme, and the video was showing up in previews, but not on the live site.

    When I played around with some of the CSS I figured out a solution.

    Add the following code to your theme’s Additional CSS under the Customize panel:

    .embedded:before, .iframe-video:before, .embed-youtube:before, .embed-vimeo:before {
    	content:none;
    }

    The default code in the plugin had it set to content:””; which I think was interfering with the display of the YouTube video. The video was there, just “hidden”.

    Another workaround is adjusting the height of the span.embed-youtube to 100% (but that left extra space around the video, so that’s why my first fix seemed to be best fit).

    Thread Starter platefulofveggies

    (@platefulofveggies)

    @blaquecat81

    Thank you so much for that! It worked! That’s genius!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Embedded video not working’ is closed to new replies.