Question:
How can I set or keep the video player in my website in full-screen mode using velo code?
Product:
Wix Editor
What are you trying to achieve:
I have a video player in loop and if the video is in full screen I want to keep it that way whenever a new video is selected to be played.
Example:
Currently once a new video is selected to be played the screen gets out of the full-screen mode, which is not what I want.
What have you already tried:
Google around. no related topic found.
Additional information:
Example code:
if ((hours >= 2 && hours < 3) || (hours >= 6 && hours < 7) || (hours >= 10 && hours < 11) || (hours >= 14 && hours < 15) || (hours >= 18 && hours < 19) || (hours >= 22 && hours < 23)) {
$w('#videoPlayer').src = NewloveVideo;
if (videoWasPlaying) {
$w('#videoPlayer').play();
}
if (videoWasinFullScreen) {
$w('#videoPlayer').stayfullscreen();
}