chore: Update window object property name to ArtplayerPluginVast

This commit is contained in:
Harvey Zack committed 2024-06-02 12:37:30 +08:00
1 parent fac7d15726
commit 0f7a3ce02c
7 files changed
+34 -14

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// npm i artplayer-plugin-vast
// import ArtplayerPluginVast from 'artplayer-plugin-vast';
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
fullscreen: true,
fullscreenWeb: true,
plugins: [
ArtplayerPluginVast({
url: '/assets/sample/vast.xml',
}),
],
});