mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
V5 (#509)
* update artplayer.d.ts * update variables.less * update artplayerPluginControl * build:all * update docs * update docs * update docs * Update layers.md * update index.js * update docs * update docs
This commit is contained in:
1 parent
c8c08137c4
commit
ee49a0435e
202 files changed
+5293
-3466
No files matched your search
@@ -169,7 +169,7 @@ function artplayerPluginDashQuality(option) {
|
||||
}
|
||||
}
|
||||
};
|
||||
if (option.control) art.controls.add({
|
||||
if (option.control) art.controls.update({
|
||||
name: "dash-quality",
|
||||
position: "right",
|
||||
html: defaultHtml,
|
||||
@@ -190,7 +190,7 @@ function artplayerPluginDashQuality(option) {
|
||||
return item.html;
|
||||
}
|
||||
});
|
||||
if (option.setting) art.setting.add({
|
||||
if (option.setting) art.setting.update({
|
||||
name: "dash-quality",
|
||||
tooltip: defaultHtml,
|
||||
html: title,
|
||||
@@ -212,6 +212,7 @@ function artplayerPluginDashQuality(option) {
|
||||
});
|
||||
}
|
||||
art.on("ready", update);
|
||||
art.on("restart", update);
|
||||
return {
|
||||
name: "artplayerPluginDashQuality"
|
||||
};
|
||||
@@ -219,8 +220,8 @@ function artplayerPluginDashQuality(option) {
|
||||
}
|
||||
exports.default = artplayerPluginDashQuality;
|
||||
artplayerPluginDashQuality.env = "development";
|
||||
artplayerPluginDashQuality.version = "1.0.1";
|
||||
artplayerPluginDashQuality.build = "2023-02-18 12:24:09";
|
||||
artplayerPluginDashQuality.version = "2.0.0";
|
||||
artplayerPluginDashQuality.build = "2023-04-23 09:50:27";
|
||||
if (typeof window !== "undefined") window["artplayerPluginDashQuality"] = artplayerPluginDashQuality;
|
||||
|
||||
},{"bundle-text:./image.svg":"78FlN","@parcel/transformer-js/src/esmodule-helpers.js":"5dUr6"}],"78FlN":[function(require,module,exports) {
|
||||
|
||||
Reference in new issue
Block a user