mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 15:56:15 -08:00
Add artplayer-plugin-chromecast to index.html
This commit is contained in:
1 parent
8f8b69cc25
commit
aa5dbd0418
11 files changed
+477
No files matched your search
@@ -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
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user