sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.59k stars 2.93k forks source link

Disabling double click to fullscreen but keep fullscreen toggle #1771

Open serge20 opened 4 years ago

serge20 commented 4 years ago

We are working on customizing plyr.io for our needs currently. We're running into an issue where we have an overlay that comes over the video player during fullscreen that requires us to fill a form. We use React portal to add that Component as part of the controls html that plyr.io allows us to customize. The problem we're facing is that when someone is filling a form and double clicks, it triggers the go to full screen event. My question is, how can we disable double click event without disabling fullscreen through plyr.io options.

shawnchenxmu commented 4 years ago

@sampotts Is this feature still needed? I am willing to help!