Add artplayer-plugin-chromecast to index.html

This commit is contained in:
Harvey Zack committed 2024-04-16 00:45:26 +08:00
1 parent 8f8b69cc25
commit aa5dbd0418
11 files changed
+477

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
fullscreen: true,
fullscreenWeb: true,
plugins: [
artplayerPluginChromecast({
// sdk: '', // The URL of the Cast SDK
// mimeType: '', // The MIME type of the media
}),
],
});