Skip to content

Commit

Permalink
feat(mux-video-init): Adding Hls as export of mux-video root module. …
Browse files Browse the repository at this point in the history
…Adding stub for env-key to use mux data/mux-embed.
  • Loading branch information
cjpillsbury committed Aug 17, 2021
1 parent 2d86620 commit fecde00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/mux-video/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Basic mux-video example</title>
<title>Basic &lt;mux-video/&gt; example</title>
<script type="module" src="../dist/index.js"></script>
</head>
<body>
<!-- Add your environment key below to automatically wire up mux data -->
<mux-video
slot="media"
src="https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe.m3u8"
controls
autoplay
muted
env-key=""
>
<track
label="thumbnails"
Expand Down
4 changes: 4 additions & 0 deletions packages/mux-video/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,8 @@ if (!window.customElements.get("mux-video")) {
window.MuxVideoElement = MuxVideoElement;
}

export {
Hls
};

export default MuxVideoElement;

0 comments on commit fecde00

Please sign in to comment.