Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
feat: Reexport Hls.js (#35)
Browse files Browse the repository at this point in the history
* Reexport Hls.js

* export Hls types
  • Loading branch information
evoactivity authored and luwes committed Jul 21, 2023
1 parent da8ab55 commit 43a98a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions hls-video-element.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ declare class HLSVideoElement extends CustomVideoElement {
}

export default HLSVideoElement;

export { Hls };
4 changes: 2 additions & 2 deletions hls-video-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class HLSVideoElement extends CustomVideoElement {
return;
}



if (Hls.isSupported()) {

this.api = new Hls({
Expand Down Expand Up @@ -92,3 +90,5 @@ if (globalThis.customElements && !globalThis.customElements.get('hls-video')) {
}

export default HLSVideoElement;

export { Hls };

0 comments on commit 43a98a8

Please sign in to comment.