All ticketsCategory: Technicalhotspot video content wrong size
edo asked 11 months ago

hi,
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
src=”https://www.youtube&#8230; – 
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)
https://www.virtual-tour.cloud/?page_id=267
 

5 Answers
C S Sultan Staff answered 11 months ago

Hi, can you post a test page with the tour and give us the link?
Thanks.

C S Sultan Staff answered 11 months ago

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>

Thanks.

Marco Ventriglia answered 11 months ago

it\’s ok, super mega thanks! just added some style to center an it works nicely! https://www.virtual-tour.cloud/?page_id=409  

C S Sultan Staff answered 11 months ago

Great!! Feel free to let us know if you face further issues.
Also if possible, do give us a rating on the WordPress repository.
Click to give a review now.
Ratings will really help us grow. Thanks.