Options
All
  • Public
  • Public/Protected
  • All
Menu

Module types/shaka

Index

Type Aliases

polyfillType: { installAll: any }

Type declaration

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
    • getAssetUri(): string
  • goToLive:function
    • goToLive(): void
  • 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
    • unload(): void
shakaUIControls: { getPlayer: any }

Type declaration

shakaUI: { Overlay: any; getControls: any }

Type declaration

ShakaPlayer: { polyfill?: polyfillType; Player?: playerType; ui: shakaUI }

Type declaration

Generated using TypeDoc