Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video pop out (HTML5) - similar to Opera #824

Open
bsclifton opened this issue Aug 24, 2018 · 5 comments
Open

Video pop out (HTML5) - similar to Opera #824

bsclifton opened this issue Aug 24, 2018 · 5 comments

Comments

@bsclifton
Copy link
Member

bsclifton commented Aug 24, 2018

Carried over from brave/browser-laptop#2582

Pop out video (HTML5) something similar to what is on Opera would be nice.

There may be no action needed, per comment by @Jacalz:

I am fairly certain that this will get fixed in Brave-core. Google is working on a picture in picture mode which can be enabled from chrome://flags.

It will get enabled by default when it is fully ready. More info on it can be found at their site:
https://wicg.github.io/picture-in-picture/

@oliverthedeveloper
Copy link

+1

1 similar comment
@bbabka
Copy link

bbabka commented Sep 28, 2018

+1

@rebron rebron modified the milestone: 1.x Backlog Feb 7, 2019
@seanf
Copy link

seanf commented Jun 12, 2019

Looks like this has been in Chromium since v70.

You can activate picture in picture by running this in the JavaScript console:

document.getElementsByTagName('video')[0].requestPictureInPicture();

Or create a bookmarklet with this as the link:

javascript:document.getElementsByTagName('video')[0].requestPictureInPicture();

@rebron
Copy link
Collaborator

rebron commented Jun 18, 2019

cc: @srirambv can you add some notes to this issue?

@srirambv
Copy link
Contributor

Somehow missed adding notes to this issue. This feature works but not on all sites. I think this is dependant on the player being used on the site. Some sites like YT only allows popout player within the webview of the page. Sites like Vimeo doesn't support either but for sites like http://cricsports.sx which provides live streaming it supports PiP mode for ex:
Screenshot from 2019-08-29 10-00-09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Untriaged backlog
Development

No branches or pull requests

6 participants