diff --git a/types/hls.js/index.d.ts b/types/hls.js/index.d.ts index a2b6486668..8690b10482 100644 --- a/types/hls.js/index.d.ts +++ b/types/hls.js/index.d.ts @@ -1666,6 +1666,16 @@ declare class Hls { * default valus is hls.firstLevel */ startLevel: number; + /** + * (default: true) + * if set to true, start level playlist and first fragments will be loaded automatically, after triggering of Hls.Events.MANIFEST_PARSED event + * if set to false, an explicit API call (hls.startLoad(startPosition=-1)) will be needed to start quality level/fragment loading. + */ + autoStartLoad: boolean; + /** + * get: Return the bound videoElement from the hls instance + */ + readonly media?: HTMLVideoElement | null; /** * hls.js config */