video - Show/Hide Videojs controls at runtime -


is there way show/hide video controls on videojs player @ runtime (e.g. player.controls.hide()).
ideas how this? thanks!

this how hide controls after 1 second mouse inactivity timeout.

    var inactivitytimeout = null;     $('#vmr_video').mousemove(function(event) {         player.controlbar.fadein();         if (inactivitytimeout != null) {             cleartimeout(inactivitytimeout);         }          inactivitytimeout = settimeout(function(){             player.controlbar.fadeout();             controlbarvisible = false;         }, 1000);     }); 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -