Home > hls.js > HlsAssetPlayer > attachMedia

HlsAssetPlayer.attachMedia() method

Signature:

attachMedia(data: HTMLMediaElement | MediaAttachingData): void;

Parameters

Parameter

Type

Description

data

HTMLMediaElement | MediaAttachingData

**Returns:**

void