Home > hls.js > HlsAssetPlayer > (constructor)

HlsAssetPlayer.(constructor)

Constructs a new instance of the HlsAssetPlayer class

Signature:

constructor(HlsPlayerClass: typeof Hls, userConfig: Partial<HlsConfig>, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);

Parameters

Parameter

Type

Description

HlsPlayerClass

typeof Hls

userConfig

Partial<HlsConfig>

interstitial

InterstitialEvent

assetItem

InterstitialAssetItem