In this youtube video is automatically play when tap on button. I need one more feature it should play in landscape (full screen)mode tapped in mobile like
How to do it for youtube videos?
How to embed video in my website so that I can open up modal and autoplay in full screen in both mobile and computer.
2
Answers
Is that what you’re looking for?
The
?autoplay=1
query will ensure the video gets automatically played.Replace the iframe in the second CodePen (the one with the Facebook video) with the code above.
I used this In one of my project made in Django, where I had to show video via youtube link.