#226: Picture-in-Picture (PiP)

Visit on Github.

Opened Jan 29, 2018

Hello TAG!

I'm requesting a TAG review of:

Further details:

You should also know that...

The API is available in Chrome behind a switch. --enable-blink-features=PictureInPictureAPI Implementation bugs are tracked here.

We'd prefer the TAG provide feedback as:

  • open issues in our Github repo for each point of feedback
  • open a single issue in our Github repo for the entire review
  • leave review feedback as a comment in this issue and notify @beaufortfrancois and @mounirlamouri

Discussions

Comment by @torgo Jan 31, 2018 (See Github)

Taken up at london f2f.

Comment by @beaufortfrancois Jan 31, 2018 (See Github)

Feel free to ping us anytime during the discussion if you have any questions.

Comment by @torgo Feb 2, 2018 (See Github)

Discussed in break-out on day 3 of our f2f...

Comment by @triblondon Feb 2, 2018 (See Github)

Points from TAG discussion, @cynthia will discuss with the group

  • Why just video? We see use cases for canvas or even arbitrary HTML content
    • Aircraft/train journey map / journey metrics
    • Heads up display for games / apps
  • Top and Start props in explainer missing from spec
  • Noted that requires user interaction
  • We'd like to see some more security considerations (S&P questionnaire?)
Comment by @beaufortfrancois Feb 2, 2018 (See Github)

I've just updated the explainer (IDL and example) to reflect the current state of the specification. Sorry for the confusion. https://github.com/WICG/picture-in-picture/pull/51

The S&P questionnaire has been filled at the same time as this TAG review request and is available at https://github.com/WICG/picture-in-picture/blob/master/security-privacy-questionnaire.md

Use cases for canvas and HTML content are exciting indeed. There are many security aspects that would need to be addressed though. What we'd like first is a minimal viable product and iterate from it. See https://wicg.github.io/picture-in-picture/#security-considerations

Comment by @beaufortfrancois Feb 5, 2018 (See Github)

FYI I've just added a section to the explainer on how to use canvas for PiP: https://github.com/WICG/picture-in-picture/blob/master/explainer.md#video-restrictions

Comment by @beaufortfrancois Feb 26, 2018 (See Github)

@cynthia @triblondon @torgo Is there anything else we can do on our side to help?

Comment by @cynthia Feb 26, 2018 (See Github)

@beaufortfrancois Apologies for the silence, can I spend a day to digest the updates and discuss this in a upcoming call if there is anything that needs to be revisited?

(Otherwise, we will revisit this in a call and close if it is a LGTM for the group.)

Comment by @beaufortfrancois Feb 26, 2018 (See Github)

No problem. Just wanted to make sure there wasn't anything blocking from our side.

Comment by @beaufortfrancois Mar 5, 2018 (See Github)

@cynthia Did you have a chance to look at it?

Comment by @cynthia Mar 6, 2018 (See Github)

@beaufortfrancois Yes, I had one last bit that got delayed (the S&P questionnaire) and all of this looks good to me. The canvas use case is something that honestly we didn't think about, and I think it would be a good start to let content authors test the waters and iterate after the MVP is out.

I'll bring this up in a upcoming call and see if there are any issues that I missed during the review. (always good to have a second pair of eyes)

Thanks a lot for your patience and cooperation! We really appreciate it.

Comment by @beaufortfrancois Mar 12, 2018 (See Github)

@cynthia Thank you!

Hopefully 2018-03-13-telcon will include Picture-in-Picture.

Comment by @cynthia Mar 13, 2018 (See Github)

@beaufortfrancois Taken up in 2018-03-13 telco. We're happy to see this new feature as a part of the platform, and if you do expand on it (which we would love to see happen) please let us know. Thanks again for raising the review!

Comment by @beaufortfrancois Mar 14, 2018 (See Github)

For future reference, here are the meeting notes: https://github.com/w3ctag/meetings/blob/gh-pages/2018/telcons/03-13-minutes.md