I’m using elementor to compose my wpvr page.
in my shortcode i set 100% width
My hotspot should shows a video from you tube using – <iframe width=”560″ height=”315″ autoplay
But when I click, my frame is wider than 560 as shown in the picture shown in link
I did some tests and this happens just with elementor and just when I set a width different from the default one (e.g. 100% or 1000px)
Hi, can you try using the iframe code below and see if this solves your issue? Based on your feedback we will understand what’s wrong.
<iframe width="560" height="315" style="width:400px; height:200px;" src="https://www.youtube.com/embed/LTDuGU38-70" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
it\’s ok, super mega thanks! just added some style to center an it works nicely! https://www.virtual-tour.cloud/?page_id=409