Answer the question
In order to leave comments, you need to log in
How to automatically make "full screen" in the browser's video player?
There are websites where I watch TV.
Standard browsing procedure:
1) open the url
2) click the player's start button
3) click the player's "full screen" button
example site - Singapore TV, channelnewsasia .com/news/livetv
can these three actions be automated into one? maybe you can, for example, write javascript and drive it into the browser using, for example, greasemonkey? Or does anyone know a ready-made solution?
Answer the question
In order to leave comments, you need to log in
Autorun can be organized like this, but something didn’t work with fullscreen :(
you can play around with the delay value (now 5000ms = 5 seconds)
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description autostart player!
// @author You
// @match https://www.channelnewsasia.com/news/livetv
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
setTimeout(() => { window.document.querySelector(".oo-state-screen-selectable").click(); }, 5000);
})();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question