0

I made a landing page with article blocks and some of them are containing video content from YouTube.

When user scrolls the page, and the block which contains the video is in the device viewport, video element must start playing. I made this using YouTube API, but it doesn't work on mobile devices.

Is there a way to make it work on mobile? Or maybe there is another way to embed and control YouTube video without using iFrame?

allenski
  • 1,652
  • 4
  • 23
  • 39
  • Add your code that says what you have tried yet so that others can help? – Atul Mathew Dec 23 '19 at 06:20
  • I use the simple code snippet from YouTube API documentation to control the video. – Anna Anghalatyan Dec 23 '19 at 06:32
  • Stackoverflow doest work like that the members could help on an error or issue you are stuck with since you asked about an alternate for ``` – Atul Mathew Dec 23 '19 at 06:43

0 Answers0