rubyvideo icon indicating copy to clipboard operation
rubyvideo copied to clipboard

Full support of the Picture in Picture API

Open adrienpoly opened this issue 5 months ago • 3 comments

#859 introduced a way to move the video to the bottom right of the page when we navigate but we could go a but further with the PiP API

VLiteJS has a built in plugin for Picture in Picture API allowing to switch tabs and keep viewing the videos playing

Doc

https://github.com/vlitejs/vlite/blob/main/src/plugins/pip/README.md

Demo

https://jsfiddle.net/yoriiis/fdyjt8pg

adrienpoly avatar Jul 29 '25 16:07 adrienpoly

Actually I think this is impossible as we are using Youtube embeds. https://dev.to/spankyed/enable-pip-on-youtube-video-embeds-2gel If anyone has a solution for that don't hesitate to share your though

adrienpoly avatar Jul 30 '25 09:07 adrienpoly

https://github.com/rubyevents/rubyevents/issues/395

marcoroth avatar Aug 16 '25 12:08 marcoroth

Oh I forgot about this issue. Anyway for Youtbube embeds it seems impossible as far as I could tell

adrienpoly avatar Aug 16 '25 14:08 adrienpoly