loomchild / sojourner-web

FOSDEM conference companion PWA
https://sojourner.rocks
GNU Affero General Public License v3.0
51 stars 6 forks source link

Preserve picture-in-picture when navigating the site #47

Closed loomchild closed 3 years ago

loomchild commented 4 years ago

Different across browsers. Currently destroying with key. Maybe in some absolute element or custom player that allows that.

loomchild commented 4 years ago

E.g. try:

loomchild commented 3 years ago

Idea:

loomchild commented 3 years ago

Not sure what benefit of player over native element. https://github.com/sampotts/plyr Vue wrapper: https://github.com/redxtech/vue-plyr Enable HLS like this: https://codepen.io/pen?template=oyLKQb Test stream: https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8

loomchild commented 3 years ago

Done. Maybe further investigate to use native PiP in Chrome or wait for better browser support.