I have to admit that my coding knowledge is very limited and today I learned a new (for me) simple trick to allow a video to toggle fullscreen when it's embedded into an iFrame.
By default when you embedded a video into an iFrame you cannot toggle fullscreen, the button appears but it simply doesn't work. you just need to add a simple
Here's a code example
Here's the code working
(by the way, you have Joker online in case you want to watch it)
By default when you embedded a video into an iFrame you cannot toggle fullscreen, the button appears but it simply doesn't work. you just need to add a simple
allowfullscreen
setting after the Scoure URL and that's it!Here's a code example
<iframe height="500" width="800"
src="https://yourSourceUrl.com" allowfullscreen>
Here's the code working
(by the way, you have Joker online in case you want to watch it)
Comments
Post a Comment