diff --git a/docs/assets/example/chromecast.js b/docs/assets/example/chromecast.js new file mode 100644 index 000000000..1584a3b27 --- /dev/null +++ b/docs/assets/example/chromecast.js @@ -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 + }), + ], +}); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index b06db3aa4..2adfd3305 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,6 +57,10 @@ artplayer-plugin-libass +
  • + artplayer-plugin-chromecast +