mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
Refactor Setting class to fix state loss issue, update range callback return type, and remove isStringOrNumber utility function
This commit is contained in:
1 parent
191c7736c4
commit
b949fedc06
9 files changed
+22
-40
No files matched your search
@@ -208,7 +208,7 @@ var art = new Artplayer({
|
||||
range: [5, 1, 10, 1],
|
||||
onChange: function (item, $dom, event) {
|
||||
console.info(item, $dom, event);
|
||||
return item.range + 'x';
|
||||
return item.range[0] + 'x';
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user