This commit is contained in:
Harvey Zack committed 2018-10-15 15:16:21 +08:00
1 parent 4327787895
commit e420005bcd
11 files changed
+233 -74

No files matched your search

+1 -11
View File
@@ -28,17 +28,7 @@
var player = new Artplayer({
container: document.querySelector('.artplayer-app'),
url: './video/frag_bunny.mp4',
poster: './img/poster.png',
contextmenu: [{
text: 'custom1',
link: 'https://github.com/zhw2590582/artplayer'
},
{
text: 'custom2',
click: (player) => {
console.log(player);
}
}]
poster: './img/poster.png'
});
console.log(player);