• Resolved Réka

    (@rekazyntern)


    Hi,
    We have a lot of YouTube videos embedded in our faqs and they have not been working. The videos don’t shown on the front page.
    https://blog.zyntern.com/help/

    I embedded it in the drop down menu but it is not working. But it does not indicate an error.
    The weird thing is that everything else works fine (like pictures, buttons).
    Do you have any other solutions for this problem?
    Thank you so much,
    Réka

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Did you try the code snippet which i have provided in the previous reply?

    You have to allow the iframes in WordPress posts so you have to add the above code in the theme’s functions.php

    If you still facing this issue kindly email your WordPress login credentials at the following address. I’ll check it for you.

    sungraiz@inspirythemes.com

    Regards,

    Thread Starter Réka

    (@rekazyntern)

    Hi,
    Yes, we tried it again, it worked, thank you so much! 🙂
    We’ve got another problem, our videos size are too big, I tried to align it to right but it didn’t worked.
    How can we size this smaller?
    Regards,
    Réka

    Hi,

    You can use the following CSS to fix the width issue.

    .wp-block-embed__wrapper iframe {
        width: 100%;
        height: auto;
    }

    ​Feel free to let me know if you need any further assistance.

    ​Regards,

    Hi,

    I hope your recent visit to our support forum is satisfactory.

    Would you consider posting an online review? This helps us to continue providing great products and helps potential users to make confident decisions.

    Sincerely,

    Hi Sungraiz,

    Thank you very much for your help with the question that Réka raised above. Where should we insert the following CSS code? I inserted it into the theme’s style.css file, and updated it, but it didn’t solve the video’s width issue in the opened FAQ toggle accordion, the video is still over the frame as seen on the picture here:

    .wp-block-embed__wrapper iframe {
    width: 100%;
    height: auto;
    }

    Thank you,
    Attila

    Hi @balogiati,

    You can add the CSS in Additional CSS Box (Dashboard > Appearance > Customize > Additional CSS)

    Regards,

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

The topic ‘Embed YouTube video doesn’t work’ is closed to new replies.