Type Aliases
polyfillType
polyfillType: { installAll: any }
playerType
playerType: { configure: any; getMediaElement: any; getAssetUri: any; goToLive: any; isBrowserSupported: any; load: any; seekRange: any; trickPlay: any; unload: any }
Type declaration
configure:function
- configure(opts: object): void
getMediaElement:function
- getMediaElement(): HTMLAudioElement
getAssetUri:function
goToLive:function
isBrowserSupported:function
- isBrowserSupported(): void
load:function
- load(url: string, opt_startTime?: number, mimetype?: string): Promise<void>
Parameters
url: string
Optional opt_startTime: number
Optional mimetype: string
Returns Promise<void>
seekRange:function
- seekRange(): { end: number }
trickPlay:function
- trickPlay(speed: number): void
unload:function
shakaUIControls
shakaUIControls: { getPlayer: any }
shakaUI
shakaUI: { Overlay: any; getControls: any }
Type declaration
Overlay:function
- Overlay(player: playerType, container: HTMLElement, audio: HTMLElement): (new (player: playerType, container: HTMLElement, audio: HTMLElement) => void)
Parameters
container: HTMLElement
audio: HTMLElement
Returns (new (player: playerType, container: HTMLElement, audio: HTMLElement) => void)
- new (player: playerType, container: HTMLElement, audio: HTMLElement): void
Parameters
container: HTMLElement
audio: HTMLElement
Returns void
getControls:function
- getControls(): { getPlayer: any }
Returns { getPlayer: any }