w3c / picture-in-picture

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

PiP Constraints in Draft #93

Closed zouhir closed 5 years ago

zouhir commented 5 years ago

I saw the current draft has stated some constraints but not all of them, does this API need some more constraints such as:

Some might be implementation details, but still would be good to discuss at TPAC what needs to go in spec and what not.

beaufortfrancois commented 5 years ago
  • Max PiP overlay window width & height, as an how big a user is allowed to resize their PiP window?

You're right. Thanks! https://github.com/WICG/picture-in-picture/pull/95

  • Triggered by action only so ads & spammy dialog's can not pop-up on page load.

We already define this in the spec: https://wicg.github.io/picture-in-picture/#request-pip