Skip to content

Commit 5620ae5

Browse files
committed
fix(client): fix vidstack
1 parent 5b8243c commit 5620ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/client/client.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script src="https://cdn.tailwindcss.com"></script>
99
<link rel="stylesheet" href="https://cdn.vidstack.io/player/theme.css" />
1010
<link rel="stylesheet" href="https://cdn.vidstack.io/player/video.css" />
11-
<script src="https://cdn.vidstack.io/player" type="module"></script>
11+
<script src="https://cdn.vidstack.io/player.core" type="module"></script>
1212
</head>
1313

1414
<body>
@@ -42,7 +42,7 @@
4242
}
4343

4444
function generateAudioVideo(src, displayFull) {
45-
return '<media-player id="message-player" ' + (displayFull ? "class='aspect-auto w-[100vw] h-[100vh]'" : '') + ' src="' + src + '" autoplay controls>' +
45+
return '<media-player id="message-player" ' + (displayFull ? "class='aspect-auto w-[100vw] h-[100vh]'" : '') + ' src="' + src + '" autoplay>' +
4646
'<media-provider></media-provider>' +
4747
'<media-audio-layout></media-audio-layout>' +
4848
'<media-video-layout></media-video-layout>' +

0 commit comments

Comments
 (0)