4 ms·
I'm not sure I understand what you mean about browser tabs. This pops the video outside of the browser's chrome, so you can drag it wherever you want. They imp
by slipheen 6y ago
I'm not sure I understand what you mean about browser tabs.
This pops the video outside of the browser's chrome, so you can drag it wherever you want.
They implemented it in Firefox because Firefox is the one detecting and playing the video? MacOS already has a similar feature, but AFAIK it only works in Safari.
- fulafel 6y agoI mean it's limited to content managed by the browser, whereas the native WM way works for all apps.
- slipheen 6y agoI guess I don't know enough about how WMs work. :( I'm curious how the WM could detect that the a portion of a window is playing video, and break that out into it's own movable window? I'm not sure how you do that without the browser managing that.
- TD-Linux 6y agoIt can't. (on some platforms, the video ends up on a compositor subsurface, but so can many other portions of an app so trying to make a PiP feature out of that would probably not work well)
- fulafel 6y agoBut you don't want it to be limited to plain video players - videoconferencing apps, games, and various real-time data displays etc are good fits to pip too. You are able to pipify any window without the app having to explicitly support it.
- slipheen 6y agoI think the main point of this feature is that it breaks the video out from a window in the existing page. I can then interact with that video separately from the page. I can scroll around on the page, I can open other links. It decouples the video from the page. There's lots of ways to open new chromeless window, or set a window always-on-top. That totally makes sense to be in a wm, but that's not all this is doing, right?
- phkahler 6y agoRight. It should send the stream to the system video player. If you then want no window decorations or whatever you go to the video player app developers.
- TD-Linux 6y agoThis pops out the <video> element, so it works on 100% of websites with one. You can use tools like youtube-dl to extract/convert a lot of websites' video to a playlist compatible with external players, but it will never have as complete coverage.
- samoa42 6y agoor use https://mpv.io/ https://mpv.io/ which will use ytdl internally to 'just play the fkn vid from the url' kthxby