Hierarchy

  • AzureMediaPlayer

Implements

  • ILog

Constructors

  • Parameters

    • id: string
    • Optional options: IAzureMediaPlayerOptions

    Returns AzureMediaPlayer

Properties

activePlayerTextTrack: Track
activePlayerTrackChangedInterval: number
debugProgressNo: number = 0
disposed: boolean = false
handlers: {
    [message: string]: Function;
} = {}

Type declaration

  • [message: string]: Function
id: string
infoElement: HTMLElement
initPausedChecked: boolean = false
messageElement: HTMLElement
options: IAzureMediaPlayerOptions
player: Player
playerResizer: ElementResizer
preInitBackground: string = null
progressBarBaseElement: HTMLElement
progressBarElement: HTMLElement
queryStringParams: {
    [key: string]: string;
}

Type declaration

  • [key: string]: string
source: string
userSettings: IUserSettings
videoElement: HTMLElement
defaultUserSettings: IUserSettings = {}
loadingClassName: string = "init-loading"
lu: LanguageUtil = ...
manifestUrlAttributeName: "data-ivmdurl" = "data-ivmdurl"
players: {
    [key: string]: AzureMediaPlayer;
} = {}

Type declaration

setupOptionsAttributeName: "data-ivsetup" = "data-ivsetup"
userSettingsStorageKey: string = "IV-AzureMediaPlayer-UserSettings"

Methods

  • Parameters

    • message: string
    • handler: Function

    Returns void

  • This method is triggered after creation of the player and before the player is initiated with all data and options

    Returns void

  • Returns void

  • This method is triggered after player is initiated and the source is loaded

    Returns void

  • Parameters

    • msg: string

    Returns void

  • Parameters

    • language: string
    • tracks: IAzureMediaPlayerTrack[]

    Returns IAzureMediaPlayerTrack

  • Parameters

    • url: string

    Returns Promise<IvMdResponse>

  • Parameters

    • url: string
    • tracks: Track[]

    Returns Track

  • Parameters

    • url: string
    • tracks: IAzureMediaPlayerTrack[]

    Returns IAzureMediaPlayerTrack

  • Parameters

    • video: HTMLElement

    Returns IAzureMediaPlayerOptions

  • Returns void

  • Returns void

  • Returns Promise<void>

  • Returns IUserSettings

  • Parameters

    • msg: string
    • force: boolean = false

    Returns void

  • Parameters

    • url: string

    Returns Promise<IAzureMediaPlayerManifestResponse>

  • Returns void

  • Parameters

    • response: IvMdResponse
    • level: MessageLevel

    Returns void

  • Parameters

    • msg: string

    Returns void

  • Parameters

    • ms: number

    Returns Promise<void>

  • Parameters

    • video: HTMLElement

    Returns string

  • Parameters

    • Optional options: IAzureMediaPlayerOptions

    Returns void

  • Returns void

  • Parameters

    • id: string
    • Optional options: IAzureMediaPlayerOptions

    Returns Promise<AzureMediaPlayer>

Generated using TypeDoc