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

Interaction with <video> element styles #81

Closed
ewoerner opened this issue Sep 12, 2018 · 2 comments
Closed

Interaction with <video> element styles #81

ewoerner opened this issue Sep 12, 2018 · 2 comments

Comments

@ewoerner
Copy link

Following example code:

// example 1
video.style.display = 'none';
video.requestPictureInPicture();

// example 2
video.style.width = '10000px';
video.style.height = '10000px';
video.requestPictureInPicture();

I guess the expected outcome is that the style of the video element has no influence at all on how the video element is presented in picture-in-picture mode. Should this be clarified in the spec?

@beaufortfrancois
Copy link
Collaborator

You're right. It has no incidence on how video is presented in Picture-in-Picture.
Let me think about how to word this in the spec.

FYI @mounirlamouri

@beaufortfrancois
Copy link
Collaborator

See #83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants