Netflix: Click to Play/Pause

Play/Pause when clicking the video.

< Feedback on Netflix: Click to Play/Pause

Review: Good - script works

Posted: 2017-06-24

Nice, simple and does what it's supposed to. Here's my contribution.

I added && document.querySelector('video').offsetWidth >= window.innerWidth to the IF condition to make it not pause when clicking to zoom back into a zoomed out video at the end of an episode/movie.

Posted: 2017-06-24
Edited: 2017-06-24

Hmm, there's a player-postplay class added. But that seems to disappear on mouse down or something, since '#netflix-player:not(.player-postplay) .player-video-wrapper *' doesn't work. Oh well.

Thanks. Added to v2.

Post reply

Sign in to post a reply.