Feature request: make clicks on video area toggle play/pause
See original GitHub issueFeature request: consider making a click on the video toggle between play/pause. Currently the only way to play/pause the video is by clicking the play/pause button in the control bar.
Tested with media-chrome@0.4.2
on codepen.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
[Feature Request] Play/Pause by clicking on video area #210
It looks like there's a separate div that contains the player buttons, with the classes player-hover player-controls-bottom , in case that helps ...
Read more >Toggle play/pause on background videos - Webflow University
Double-click the Background video or press Enter/Return to open Background video settings; Check the Include play/pause button checkbox. Important: We strongly ...
Read more >Click Video To Toggle Pause/Play - The VideoLAN Forums
So why not toggle pause/play when clicking on the VLC video? YouTube has this functionality already. And I don't see any good reason...
Read more >Video play/pause toggle on click - E-Learning Heroes
I have embedded a screen recording video on a slide, and would like to disable the default pause/play function that occurs when the...
Read more >How do I use Javascript to toggle play/pause for multiple ...
When I add onclick="playPause()" to just one video it works great. I click the video and it'll play or pause just like I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good callout @luwes I’d agree we should make sure we’re not loosing that if at all possible in the implementation.
It would be nice to keep the right-click menu options of the video element. Will these be removed with a new gesture layer on top? Picture in picture and Chromecasting is always nice to have without needing special buttons.