Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Picture in picture and navigation

  • 1 απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 46 προβολές
  • Τελευταία απάντηση από cor-el

more options

Hello there!

I noticed that pip play mode in Firefox is different to other browsers. In other browsers, once the pip window is opened, it remains open until user explicitly closes it. User is able to navigate away from the page containing the video and it will still remain open. In Firefox, once user navigates away from the video source, the pip window will close.

I'm working on a website which will include some tutorial windows on the home page. It would be useful for the user to be able to open the pip window and then navigate around the site to try out features described in the tutorial video. This is possible with other browsers, unfortunately on Firefox, once the user navigates away (even knowing that it's a SPA) and the video element is removed from the DOM, the browser will not keep the video stream open anymore.

Are there any plans to change this behaviour to match other browsers? Maybe there's an extra attribute that I could add to the video tag to preserve the pip window between navigation events? Maybe there's a temp hack (i.e. keeping the video tag in the DOM but hidden - for SPAs) or will I need to develop a custom media player to achieve this?

Hello there! I noticed that pip play mode in Firefox is different to other browsers. In other browsers, once the pip window is opened, it remains open until user explicitly closes it. User is able to navigate away from the page containing the video and it will still remain open. In Firefox, once user navigates away from the video source, the pip window will close. I'm working on a website which will include some tutorial windows on the home page. It would be useful for the user to be able to open the pip window and then navigate around the site to try out features described in the tutorial video. This is possible with other browsers, unfortunately on Firefox, once the user navigates away (even knowing that it's a SPA) and the video element is removed from the DOM, the browser will not keep the video stream open anymore. Are there any plans to change this behaviour to match other browsers? Maybe there's an extra attribute that I could add to the video tag to preserve the pip window between navigation events? Maybe there's a temp hack (i.e. keeping the video tag in the DOM but hidden - for SPAs) or will I need to develop a custom media player to achieve this?

Επιλεγμένη λύση

You need to keep the tab where you opened the PiP window open and open a new tab if you want to visit another website. If you close that tab or browse to another page in the PiP tab then you close the PiP window. A PiP window needs an anchor to load the video data from the server and that anchor is the tab where you opened the PiP player, so once you lose the anchor tab then the PiP player closes as well as that closes the video stream.

Ανάγνωση απάντησης σε πλαίσιο 👍 0

Όλες οι απαντήσεις (1)

more options

Επιλεγμένη λύση

You need to keep the tab where you opened the PiP window open and open a new tab if you want to visit another website. If you close that tab or browse to another page in the PiP tab then you close the PiP window. A PiP window needs an anchor to load the video data from the server and that anchor is the tab where you opened the PiP player, so once you lose the anchor tab then the PiP player closes as well as that closes the video stream.