Class: shaka.polyfill.Orientation

A polyfill for systems that do not implement screen.orientation. For now, this only handles systems that implement the deprecated window.orientation feature... e.g. iPad.

Constructor

new Orientation()

A polyfill for systems that do not implement screen.orientation. For now, this only handles systems that implement the deprecated window.orientation feature... e.g. iPad.

Source:

Methods

install()

Install the polyfill if needed.
Source:

installBasedOnWindowMethods_()

Makes a polyfill for orientation, based on window methods. Note that some of the features this is based on are deprecated, so this will not necessarily work on all platforms.
Source: