Youtube video does not get embedeed properly

I have another trouble with the Illdy theme.
Not sure why, it does not emebeed the video if I use the youtube block… so I have use the Iframe, but then responsivness is lost…

Any suggestion?

Hello Umberto

It’s not a theme problem, you are using predefined width in pixels in the Iframe, try to use 100% and check again

I tried, it becomes very small, I am afraid to me this looks like a theme issue.
I just changed it so that you can appreciate that. It is almost a thumbnail…

If I use a standard free theme from wordpress the size is properly rendered.

Thanks and regards,

Hi Umberto

Check again, it’s fixed and this is the shortcode I used on the page:

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='YouTube' frameborder='0' allowfullscreen></iframe></div>

Many thanks Noda,
I appreciate your help
Kind regards,

Thank you too :slight_smile:

If you’re happy with our service, don’t forget to rate us: [Illdy] Reviews |