daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var timeout = null;
  2.  
  3. videoplayer.onmousemove = function(){
  4.         videoControls.setAttribute("style", "display:block");
  5.         if(timeout!=null) clearTimeout(timeout);
  6.         timeout = setTimeout(() =>
  7.             videoControls.setAttribute("style", "display:none");
  8.         }, 4000);
  9.     };
RAW Paste Data
Top