+ 1
How would you see in full screen?
Using the iframe tag how can you make a video fullscreenable? An youtube video example would be very helpful.
9 Réponses
+ 1
I think you could just set the height and width to 100vw and 100vh, but I didn't test it befote
0
Roel Boy.. I had a good laugh when I did that. It made that a tiny box. Lol. But still thanks.
0
However I am looking a way to make it go big when I the click on the fullscreen button at the right corner.
0
Then there is screen.width and screen.height, but it's a javascript way and has a high probability of not working at all.
0
Hmm..
0
But since screen.width returns an integer value it might work as x.style.width = `${screen.width}px`;
0
Ok.. That got a bit more complicated (since i idka about JavaScript) then I thought it would get. Thanks.. I'll try.
0
You're welcome
0
go to this website
https://www.w3schools.com/howto/howto_js_fullscreen.asp