Skip to content

Commit

Permalink
fix vidstack player
Browse files Browse the repository at this point in the history
  • Loading branch information
insanity54 committed Jun 21, 2023
1 parent a323144 commit f75725b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/builder/_website/testbed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{# vidstack #}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vidstack/styles/defaults.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vidstack/styles/community-skin/video.min.css" />
<script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn/prod.min.js "></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn/prod.min.js"></script>

{# mux player #}
<script src="https://cdn.jsdelivr.net/npm/@mux/mux-player"></script>
Expand Down Expand Up @@ -46,9 +46,10 @@
load="eager"
title="vidstack test"
preload="metadata"
src="https://stream.mux.com/{{playbackId}}.m3u8?token={{token}}"
aspect-ratio="16/9"
style="--media-aspect-ratio: 1.7778;"
src="https://stream.mux.com/{{playbackId}}.m3u8?token={{token}}"
controls
>
<media-outlet>
</media-outlet>
Expand Down

0 comments on commit f75725b

Please sign in to comment.