fancybox icon indicating copy to clipboard operation
fancybox copied to clipboard

Always show video controls

Open matvada opened this issue 3 years ago • 1 comments

Hello, how can I keep the video controls active for the entire duration? They disappear after a few seconds and you need to move the cursor to make them appear.

Thanks

matvada avatar Dec 09 '21 11:12 matvada

Hi,

What version of Fancybox are you using? And what kind of video - HTML5, Youtube or other?

HTML5 video element is controlled by the browser and, unfortunately, there is no option to toggle auto-hiding (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video) So, it would probably be best to use, for example, Plyr (https://plyr.io/) for video playback.

fancyapps avatar Dec 14 '21 14:12 fancyapps