update artplayer.d.ts

This commit is contained in:
Harvey committed 2021-12-09 12:28:48 +08:00
1 parent 6098c7f7ba
commit 6440f5f1cf
5 files changed
+383 -50

No files matched your search

+1 -4
View File
@@ -16,10 +16,7 @@ export default function urlMix(art, player) {
if (typeName && typeCallback) {
sleep().then(() => {
art.loading.show = true;
const result = typeCallback.call(art, $video, url, art);
def(art, typeName, {
value: result,
});
typeCallback.call(art, $video, url, art);
});
} else {
$video.src = url;