SHARE
TWEET

Untitled

a guest Jun 17th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.onload = function() {
  2.  
  3.     navigator.mediaSession.setActionHandler('play', function() {
  4.       console.log('play media key pressed');
  5.       playMedia(document);
  6.     });
  7.  
  8. }
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