PolymerElements / app-media

Elements for accessing data from media input devices and visualizing that data for users
61 stars 12 forks source link

Add Presentation API element(s) #28

Open FluorescentHallucinogen opened 7 years ago

FluorescentHallucinogen commented 7 years ago

What about adding web component(s) for Presentation API (https://w3c.github.io/presentation-api/)?

In discussion with @kenchris he said that Presentation API element(s) should be part of app-media elements.

Seems, Presentation API is quite simple. See https://developer.mozilla.org/docs/Web/API/Presentation_API. Live demo: https://googlechrome.github.io/samples/presentation-api/index.html. But I worry about good web component API (interface design). What properties and methods should Presentation API element (or elements) have?

cdata commented 7 years ago

Thanks for the feature request. I think that Presentation API is certainly complimentary to this body of elements, but my intuition is that it should be a part of a separate collection. App Media is primarily focused on media (e.g., audio, video, image) recording and presentation in apps. Presentation API seems mostly orthogonal to this use case.

Would you care to make a case for why Presentation API belongs in this body of elements?

kenchris commented 7 years ago

That is probably right, depending on the use case. On eof the major use-cases for presentation is of course presenting media on other devices, though the spec allows for much more

FluorescentHallucinogen commented 7 years ago

@cdata

I think that Presentation API is certainly complimentary to this body of elements, but my intuition is that it should be a part of a separate collection.

Are there more suitable collections?