Skip to content

Implement Media Session API for video-interface #7272

@aghassemi

Description

@aghassemi

Chrome 57 is releasing the Media Session API which allows customization of the media notifications.

We should implement this API for any player than implements the video-interface.

Few Notes:

  • We should make artwork and title configurable but we can also provide reasonable defaults: (p1)
    • artwork can default to poster
    • title can default to one of title, aria-label, aria-describedby. YouTube and other platforms might have APIs to get the title as well.
  • Lightbox 2.0 work discovers different elements (including media) in the page, we can implement the (p3) album feature ( e.g. next, previous based on the same functionality )
  • We can do seek after we add seek to video-interface (p3)

/cc @dvoytenko (Thanks for sending the link) @rudygalfi @ericlindley-g

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions