This commit is contained in:
Harvey committed 2021-12-31 18:20:51 +08:00
1 parent d6ea0b2355
commit 072ba6e703
8 files changed
+27 -20

No files matched your search

+4
View File
@@ -58,6 +58,10 @@ var art = new Artplayer({
whitelist: ['*'],
});
art.on('ready', function () {
art.autoHeight = true;
});
Artplayer.config.events.forEach(function (item) {
art.on('video:' + item, function (event) {
console.log('video: ' + event.type);