build all packages

This commit is contained in:
Harvey Zack committed 2019-06-12 15:24:34 +08:00
1 parent 6c2d5f62f6
commit cadfa4efe5
28 files changed
+412 -382

No files matched your search

@@ -13,7 +13,7 @@ export default function attachUrlMix(art, player) {
const typeName = type || getExt(videoUrl);
const typeCallback = customType[typeName];
if (typeName && typeCallback) {
art.loading.show();
art.loading.show = true;
art.emit('beforeCustomType', typeName);
typeCallback.call(art, $video, videoUrl, art);
art.emit('afterCustomType', typeName);
@@ -32,7 +32,7 @@ export default function attachUrlMix(art, player) {
'If url is a function, it needs to return a promise.',
);
return result.then(videoUrl => {
art.loading.show();
art.loading.show = true;
return attachUrl(videoUrl);
});
}