mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 00:56:16 -08:00
返回自定义类型
This commit is contained in:
1 parent
2e84a2a1cf
commit
f53f4e8ef0
3 files changed
+38
-32
No files matched your search
@@ -16,7 +16,10 @@ export default function urlMix(art, player) {
|
||||
if (typeName && typeCallback) {
|
||||
sleep().then(() => {
|
||||
art.loading.show = true;
|
||||
typeCallback.call(art, $video, url, art);
|
||||
const result = typeCallback.call(art, $video, url, art);
|
||||
def(art, typeName, {
|
||||
value: result,
|
||||
});
|
||||
});
|
||||
} else {
|
||||
$video.src = url;
|
||||
|
||||
Reference in new issue
Block a user