Class: shaka.polyfill

A one-stop installer for all polyfills.

Source:
See:

Classes

shaka.polyfill.CustomEvent
A polyfill to implement the CustomEvent constructor on browsers which don't have one or don't allow its direct use.
shaka.polyfill.Fullscreen
A polyfill to unify fullscreen APIs across browsers. Many browsers have prefixed fullscreen methods on Element and document. See Using fullscreen mode on MDN for more information.
shaka.polyfill.MediaKeys
A polyfill to unify EME APIs across browser versions. The EME spec is still a work-in-progress. As such, we need to provide a consistent API to the Shaka Player. Until the spec is completely stable, the API provided by this polyfill may lag behind the latest spec developments.
shaka.polyfill.Promise
A polyfill to implement Promises, primarily for IE. Does not support thenables, but otherwise passes the A+ conformance tests. Note that Promise.all() and Promise.race() are not tested by that suite.
shaka.polyfill.Promise
shaka.polyfill.VideoPlaybackQuality
A polyfill to provide MSE VideoPlaybackQuality metrics. Many browsers do not yet provide this API, and Chrome currently provides similar data through individual prefixed attributes on HTMLVideoElement.

Methods

(static) installAll()

Install all polyfills.
Source: