Ads is a complex technology space, but similar to adaptive streaming and media source extensions, a lot of the ads complexity should live "below the surface" of the media element API. What should be exposed at the media element API level should be focused on making common ad-related user-interfaces possible.
Ad markers on the progress timeline
Hiding/disabling certain controls when an ad is playing
Issue for gathering the complexities of ads that should be supported via the media element API, to make ad-related changes to the user interface.
Related discussion for media-chrome as we determine the ad-related HTML attributes that could be set on UI elements. https://github.com/muxinc/media-chrome/issues/34
Ads is a complex technology space, but similar to adaptive streaming and media source extensions, a lot of the ads complexity should live "below the surface" of the media element API. What should be exposed at the media element API level should be focused on making common ad-related user-interfaces possible.