i'm trying to make a chrome extension that keeps the controls always visible on a youtube video within the native youtube page.
so far i have this js
$(document).ready(function() {
setInterval(function(){
$('.ytp-autohide').removeClass('ytp-autohide');
$('#player-container').mouseover();
},100);
});
but removing the ytp-autohide class stops the timer/bar progress and i cant figure out how to instead activate the showcontrols function via js mouseover or somesuch.
can i keep the progress bar & time going somehow or alternately recreate the mouseover showcontrols function with js?