Skip to content

Instantly share code, notes, and snippets.

@NameFILIP
Created January 8, 2016 09:41
Show Gist options
  • Save NameFILIP/12e87b6031ff68e75d08 to your computer and use it in GitHub Desktop.
Save NameFILIP/12e87b6031ff68e75d08 to your computer and use it in GitHub Desktop.
NETF_IX
document.querySelector('.player-video-wrapper').addEventListener('click', function() {
document.querySelector('.player-play-pause').dispatchEvent(new MouseEvent('click'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment