Skip to content

Commit

Permalink
use prod version of vidstack
Browse files Browse the repository at this point in the history
  • Loading branch information
insanity54 committed Jun 21, 2023
1 parent 0a147b9 commit a323144
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 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 type="module" src="https://cdn.jsdelivr.net/npm/vidstack/dist/cdn/prod.js"></script>
<script src=" https://cdn.jsdelivr.net/npm/vidstack@0.6.1/dist/cdn/prod.min.js "></script>

{# mux player #}
<script src="https://cdn.jsdelivr.net/npm/@mux/mux-player"></script>
Expand Down Expand Up @@ -42,21 +42,19 @@


<h2>vidstack</h2>
<media-player
title="Problem Asset"
src="https://stream.mux.com/{{playbackId}}.m3u8?token={{token}}"
poster=""
thumbnails=""
aspect-ratio="16/9"
crossorigin
>
<media-outlet>
<media-poster
alt="test video demonstrating mux playback issue"
></media-poster>
</media-outlet>
<media-community-skin></media-community-skin>
</media-player>
<media-player
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;"
>
<media-outlet>
</media-outlet>
<media-poster></media-poster>
<media-community-skin></media-community-skin>
</media-player>

<h2>mux player</h2>
<mux-player
Expand Down

0 comments on commit a323144

Please sign in to comment.