mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
4.1.4
This commit is contained in:
1 parent
d6ea0b2355
commit
072ba6e703
8 files changed
+27
-20
No files matched your search
@@ -10,7 +10,6 @@ html, body {
|
||||
|
||||
.artplayer-app {
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
}
|
||||
|
||||
.tip {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user