mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 21:01:20 -08:00
Refactor Artplayer class to update build timestamp
This commit is contained in:
1 parent
fbfee926ca
commit
0ddb7751a1
4 files changed
+12
-2
No files matched your search
@@ -187,6 +187,7 @@ function artplayerPluginHlsControl(option = {}) {
|
||||
art.loading.show = true;
|
||||
art.notice.show = `${title}: ${item.html}`;
|
||||
art.emit("artplayerPluginHlsControl:quality", item);
|
||||
for(let index = 0; index < selector.length; index++)selector[index].default = selector[index] === item;
|
||||
return item.html;
|
||||
};
|
||||
if (config.control) art.controls.update({
|
||||
@@ -245,6 +246,7 @@ function artplayerPluginHlsControl(option = {}) {
|
||||
art.loading.show = true;
|
||||
art.notice.show = `${title}: ${item.html}`;
|
||||
art.emit("artplayerPluginHlsControl:audio", item);
|
||||
for(let index = 0; index < selector.length; index++)selector[index].default = selector[index] === item;
|
||||
return item.html;
|
||||
};
|
||||
if (config.control) art.controls.update({
|
||||
|
||||
Reference in new issue
Block a user