vimeo / player.js

Interact with and control an embedded Vimeo Player.
https://player.vimeo.com/api/demo
MIT License
1.45k stars 262 forks source link

Disable player controls on Safari browser #731

Closed ncham closed 7 months ago

ncham commented 3 years ago

const playerOpts = { url: <video-url>, responsive: true, controls: false, }; const videoPlayer = new VimeoPlayer(<div element reference>, playerOpts);

I've implemented vimeo player on my angular web app and it's working fine. But MacBook Pro has a Touch Bar and when I play videos using Safari browser, player controls are visible on Touch Bar. Since it's controls: false , is there any way to hide that?

MladenJanjetovic commented 2 years ago

Yes this is not good since controls should be disabled

bdougherty commented 7 months ago

I am not aware of any way to hide those while a video is playing because the Touch Bar is controlled by the browser.