mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 02:21:20 -08:00
chore: Update window object property name to ArtplayerPluginVast
This commit is contained in:
1 parent
fac7d15726
commit
0f7a3ce02c
7 files changed
+34
-14
No files matched your search
@@ -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',
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user