Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

How to avoid pop up appearing in the screen middle top when playing video full-screen ?

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od Gingerbread Man

more options

I created a landing page with embedded video hosted on Vimeo. When I click to play the video full-screen there's always a pop up window in the middle top saying the meaning like Vimeo is playing full-screen, press escape to get out of it. I don't want that pop up from appearing, I am wondering if any code I can put on the embedded video to prevent the pop up ? Thank you very much.

I created a landing page with embedded video hosted on Vimeo. When I click to play the video full-screen there's always a pop up window in the middle top saying the meaning like Vimeo is playing full-screen, press escape to get out of it. I don't want that pop up from appearing, I am wondering if any code I can put on the embedded video to prevent the pop up ? Thank you very much.

Wszystkie odpowiedzi (1)

more options

No, as a web developer, you can't tamper with that message. The point is to prevent a situation where the user is trapped in full screen, as would happen if full screen is initiated by the page and the page doesn't provide controls to exit full screen.

If users trust the site in question, they can check the "Never ask me again for this domain" checkbox to avoid the message in the future. Users can also get rid of all such messages altogether:

  1. Install Stylish and restart Firefox when prompted.
  2. Click the Stylish icon on the navigation toolbar and choose Write New Style, then Blank style.
  3. Paste the following in the text box, give the style a name, then click the Save button.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#fullscr-toggler,
#full-screen-warning-container {
  display: none !important
}

If you don't want to install an add-on, you can use the userChrome.css file instead, but I don't recommend it. In that file, the first line of the style should only appear once at the top.