Skip to content
This repository was archived by the owner on May 2, 2026. It is now read-only.

Commit 7b8015c

Browse files
committed
fix: doctype
1 parent 79ab96f commit 7b8015c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/components/client/client.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!DOCTYPE html>
12
<html>
23

34
<head>
@@ -57,6 +58,10 @@
5758
layout: new VidstackPlayerLayout({
5859
}),
5960
});
61+
62+
player.addEventListener('can-play', () => {
63+
console.debug("Player can play !");
64+
});
6065
}, 100);
6166

6267
return '<div id="message-player" data-autoplay data-load="eager" ' + (displayFull ? "class='h-[100vh] " + (mediaIsShort ? "is-short mx-auto" : "aspect-contain w-[100vw] ") + "'" : "class='aspect-contain " + (mediaIsShort ? "is-short" : "") + "'") + ' >' +

0 commit comments

Comments
 (0)