Home > hls.js > Hls > attachMedia
Hls.attachMedia() method
Attaches Hls.js to a media element
Signature:
attachMedia(media: HTMLMediaElement): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
media |
HTMLMediaElement |
void
Home > hls.js > Hls > attachMedia
Attaches Hls.js to a media element
Signature:
attachMedia(media: HTMLMediaElement): void;
Parameter |
Type |
Description |
---|---|---|
media |
HTMLMediaElement |
void