daily pastebin goal
42%
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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top