VLC plugin in windowless mode : no real fullscreen !
Posted: 04 Jul 2018 00:57
Hi everyone !
I have coded my own "TV app" using the VLC plugin in Firefox (now rel. 52) under Windows10 (used to be Win7), all's fine and dandy, been pretty happy with it so far (for a few years in fact). I'm streaming a DVB-T card to watch TV with various controls, window sizes, etc... the app is basic HTML/CSS/JS (no framework like JQuery).
Now for the problem : while in "windowless=false" mode I can get to full screen video w/o a glitch, this does not work in windowless mode. Instead when requesting to go full screen the video picture itself stays the same (small) size while the rest of the screen goes black (well, 99% of the screen, I can still click outside the black area on the outer border of the screen).
Note that I do mozRequestFullScreen() on the vlc plugin embed/object in order to (try to) achieve full screen, but no way. I've looked around extensively but couldn't find an answer (just found a vlc bug report page where the same problem is discussed, in the end the OP says "I've found a solution, thanks !" but doesn't bother to say anything about how he/she fixed the problem.
Any idea would be welcome, and/or ask for more details if necessary - thank you.
I have coded my own "TV app" using the VLC plugin in Firefox (now rel. 52) under Windows10 (used to be Win7), all's fine and dandy, been pretty happy with it so far (for a few years in fact). I'm streaming a DVB-T card to watch TV with various controls, window sizes, etc... the app is basic HTML/CSS/JS (no framework like JQuery).
Now for the problem : while in "windowless=false" mode I can get to full screen video w/o a glitch, this does not work in windowless mode. Instead when requesting to go full screen the video picture itself stays the same (small) size while the rest of the screen goes black (well, 99% of the screen, I can still click outside the black area on the outer border of the screen).
Note that I do mozRequestFullScreen() on the vlc plugin embed/object in order to (try to) achieve full screen, but no way. I've looked around extensively but couldn't find an answer (just found a vlc bug report page where the same problem is discussed, in the end the OP says "I've found a solution, thanks !" but doesn't bother to say anything about how he/she fixed the problem.
Any idea would be welcome, and/or ask for more details if necessary - thank you.