Youtube iframe fullscreen

Viewed 54

hope everyone is ok. I need to build a page in our company's website where we're putting some videos of our production. The problem is, i can't seem to find a way to make the videos available in fullscreen mode for the visitors. I've done pratically every solution that i've found, but none seems to work. I've done:

<iframe allow="fullscreen;">
---
<iframe src="your_page_url" 
    allowfullscreen="allowfullscreen"
    mozallowfullscreen="mozallowfullscreen" 
    msallowfullscreen="msallowfullscreen" 
    oallowfullscreen="oallowfullscreen" 
    webkitallowfullscreen="webkitallowfullscreen">
</iframe> 
---
allowFullScreen="allowFullScreen" and frameBorder="0"
---
<iframe 
    id="player" 
    src="URL here" 
    allowfullscreen="true">
</iframe>
---

But none of that worked.. Any help here is welcome!

1 Answers

its very easy if you wants to add youtube videos in iframe .you just have to add iframe in src embed word like that

<iframe src="https://www.youtube.com/embed/watch?v=fbS2O4VETAo&t=2s" name="myFrame"></iframe>

after youtube.com/embed/Example url

Related