Hello
I would like to insert a youtube video on homePage, with full width /responsive use, like the slideshow from your demo.
I tried with LayerSlider , custom CSS, or iframe integration in textBlock, but it didn’t work, it doesn’t get the full width of browser.
Some advice ?
Thanx
Hey romano2!
The problem is that most youtube videos will not have the same aspect ratio like your fullwidth slider and the video will display in a letterbox. You probably need to play around with the height value to get a fullwidth video. However you can stretch the player/iframe to 100% for sure. I.e I used
<iframe id="ytplayer" type="text/html" src="https://www.youtube.com/embed/CfihYWRWRTQ" frameborder="0" style="width:100%; height:100%" allowfullscreen>
and following settings: http://www.clipular.com/c/4537130453827584.png?k=uRxJjV7uYgwq0aFhjGcqNpSRFzQ to stretch the youtube video on my test server page: http://test.inoplugs.com/agb/
You probably need to use a px value instead of 100% height to find the right aspect ratio for the video.
Best regards,
Peter
Wonderfull, thanx for this great support !!!
I’ll find my solution with your help ;)