Skip to main content

IContentProps <PlayerPropsInjectedDependencies, EnvVariable>

Index

Properties

optionalLoadingComponent

LoadingComponent?: FC<{}>

optionalattemptAutoplay

attemptAutoplay?: boolean

optionaldefaultContentLanguage

defaultContentLanguage?: string

optionaldefaultSubtitleLanguage

defaultSubtitleLanguage?: string

envVariable

envVariable: EnvVariable

episodeId

episodeId: string

optionalonEnd

onEnd?: (x: EndEventDetail) => void

Type declaration

onEpisodeIdUpdate

onEpisodeIdUpdate: (episodeId: string, forceReload?: boolean) => Promise<void>

Type declaration

    • (episodeId: string, forceReload?: boolean): Promise<void>
    • Parameters

      • episodeId: string
      • optionalforceReload: boolean

      Returns Promise<void>

optionalonInitialized

onInitialized?: (x: InitializedEventDetail) => void

Type declaration

optionalonSegmentEnd

onSegmentEnd?: (x: SegmentEndEventDetail) => void

Type declaration

optionalonSegmentStart

onSegmentStart?: (x: SegmentStartEventDetail) => void

Type declaration

playerPropsHookDependencies

playerPropsHookDependencies: PlayerPropsInjectedDependencies

preferredUploaders

preferredUploaders: string[]

trustedUploaders

trustedUploaders: string[]

userData

optionaluserImplementedFunctions

userImplementedFunctions?: Partial<RawUserImplementedFunctions>