mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 19:51:20 -08:00
fix mobile m3u8 loading error
This commit is contained in:
1 parent
b2084633db
commit
7b65b414ff
3 files changed
+10
-7
No files matched your search
@@ -249,7 +249,7 @@ class Artplayer extends (0, _emitterDefault.default) {
|
||||
return "development";
|
||||
}
|
||||
static get build() {
|
||||
return "2023-04-24 22:47:05";
|
||||
return "2023-04-25 21:53:08";
|
||||
}
|
||||
static get config() {
|
||||
return 0, _configDefault.default;
|
||||
@@ -2780,8 +2780,9 @@ function eventInit(art) {
|
||||
art.on("video:playing", ()=>{
|
||||
art.mask.show = false;
|
||||
});
|
||||
// art.on('video:progress', () => {
|
||||
// });
|
||||
art.on("video:progress", ()=>{
|
||||
if (art.playing) art.loading.show = false;
|
||||
});
|
||||
// art.on('video:ratechange', () => {
|
||||
// });
|
||||
art.on("video:seeked", ()=>{
|
||||
|
||||
Reference in new issue
Block a user