搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how can I remove the 'allow fullscreen' message which appears on my website's video's, & not just in my own browser?

  • 5 回覆
  • 4 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

I have a website with videos hosted on Vimeo. When I click the 'fullscreen' button, the video goes into fullscreen but I am presented with a message asking to 'allow or deny fullscreen for vimeo.com'.

I know I can stop this message in my own Firefox browser (click 'allow' and 'remember' for vimeo.com, or go to 'about:permissions' in Firefox address bar).

But I want to stop other viewers to my website having to deal with this message, is there any css code/ workaround to stop this message appearing for other viewers, rather than each of them having to change their own browser preferences?

Many Thanks

I have a website with videos hosted on Vimeo. When I click the 'fullscreen' button, the video goes into fullscreen but I am presented with a message asking to 'allow or deny fullscreen for vimeo.com'. I know I can stop this message in my own Firefox browser (click 'allow' and 'remember' for vimeo.com, or go to 'about:permissions' in Firefox address bar). But I want to stop other viewers to my website having to deal with this message, is there any css code/ workaround to stop this message appearing for other viewers, rather than each of them having to change their own browser preferences? Many Thanks

所有回覆 (5)

more options

check on the option that appears under it and it wont ask you again

more options

That's not a Firefox support issue. Ask Vimeo about how to control that message for all visitors to your website.

more options

That is standard behavior when websites use the full screen API and you click a button on a web page or in a media player.

You can manage the full screen permission via "Tools > Page Info > Permissions" or via the about:permissions page.

There is a pref (about:config) that controls the default behavior although it is not recommended to change the default.

  • full-screen-api.approval-required

more options

@haidersajjad I know this works for my own browser as I stated, but I wondered if there is a way to stop the box appearing for 'other viewers to website'.

@the-edmeister Ironically I asked on the Vimeo forum first and they said: 'Unfortunately this is something to do with web browsers not Vimeo'

@cor-el Thanks, I thought this would only work for my own browser, will this work for other viewers?

more options

No, you can't prevent showing this message to ask for permission as this is one of the privacy/security settings in Firefox.