mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
update mobile demo
This commit is contained in:
1 parent
9ba7a87fcf
commit
d6ea0b2355
2 files changed
+1
-4
No files matched your search
@@ -10,6 +10,7 @@ html, body {
|
|||||||
|
|
||||||
.artplayer-app {
|
.artplayer-app {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tip {
|
.tip {
|
||||||
|
|||||||
@@ -58,10 +58,6 @@ var art = new Artplayer({
|
|||||||
whitelist: ['*'],
|
whitelist: ['*'],
|
||||||
});
|
});
|
||||||
|
|
||||||
art.on('ready', function () {
|
|
||||||
art.autoHeight = true;
|
|
||||||
});
|
|
||||||
|
|
||||||
Artplayer.config.events.forEach(function (item) {
|
Artplayer.config.events.forEach(function (item) {
|
||||||
art.on('video:' + item, function (event) {
|
art.on('video:' + item, function (event) {
|
||||||
console.log('video: ' + event.type);
|
console.log('video: ' + event.type);
|
||||||
|
|||||||
Reference in new issue
Block a user