w3c / picture-in-picture

Picture-in-Picture (PiP)
https://w3c.github.io/picture-in-picture
Other
311 stars 39 forks source link

Can hide the play button in pip? #151

Closed xiaomingtan closed 4 years ago

xiaomingtan commented 5 years ago

Because in some browsers, when the mouse leaves the PIP, the control will always exist, I need to hide the play button, NiMo Tv(https://www.nimo.tv/) is treated like this, but I don't know how he implemented it, can someone help me? Thank you

mounirlamouri commented 5 years ago

If the content can be play/paused, it seems fair to have the option to toggle the state. If a browser has an implementation that doesn't make sense, maybe a bug should be filed with them?

beaufortfrancois commented 5 years ago

I wonder if it's the same as https://github.com/GoogleChromeLabs/picture-in-picture-chrome-extension/issues/31

xiaomingtan commented 4 years ago

@beaufortfrancois YES,the same as GoogleChromeLabs/picture-in-picture-chrome-extension#31,chrome fix this,thank you