Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

YouTube Embed behaving differently on Mobile Devices

$
0
0

On my website I have a full screen video hero. I need it to show on both desktop and mobile.

On mobile devices, the hero doesn't show the video - the iframe doesn't even exist in the code unless on desktop.

When I use inspect element device type and set it to desktop, it loads correctly and the video plays no matter what resolution the screen is set to.

I've looked at the PHP template and I think that JS must be causing the problem as there's no device sensitive logic.

The page is https://oateymedia.co.uk/


Viewing all articles
Browse latest Browse all 3638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>