Home > hls.js > Hls > createIFramePlayer
Hls.createIFramePlayer() method
Returns an new iframe focused Hls (HlsIFramesOnly) instance based on iframeVariants found in the current asset, or null when none are available. An iframe instance uses iframe variants as its levels. Use HlsIFramesOnly.loadMediaAt(time) to render video IFrames in an attached video element.
Signature:
createIFramePlayer(configOverride?: Partial<HlsConfig>): HlsIFramesOnly | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
configOverride |
Partial<HlsConfig> |
(Optional) |
Returns:
HlsIFramesOnly | null