mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
update artplayer.d.ts
This commit is contained in:
1 parent
71fad99a6a
commit
a3b767f15d
9 files changed
+36
-32
No files matched your search
@@ -29,7 +29,7 @@ export default function artplayerPluginDashQuality(option) {
|
||||
};
|
||||
|
||||
if (option.control) {
|
||||
art.controls.add({
|
||||
art.controls.update({
|
||||
name: 'dash-quality',
|
||||
position: 'right',
|
||||
html: defaultHtml,
|
||||
@@ -51,7 +51,7 @@ export default function artplayerPluginDashQuality(option) {
|
||||
}
|
||||
|
||||
if (option.setting) {
|
||||
art.setting.add({
|
||||
art.setting.update({
|
||||
name: 'dash-quality',
|
||||
tooltip: defaultHtml,
|
||||
html: title,
|
||||
@@ -75,6 +75,7 @@ export default function artplayerPluginDashQuality(option) {
|
||||
}
|
||||
|
||||
art.on('ready', update);
|
||||
art.on('restart', update);
|
||||
|
||||
return {
|
||||
name: 'artplayerPluginDashQuality',
|
||||
|
||||
Reference in new issue
Block a user