This commit is contained in:
Harvey Zack committed 2018-12-14 15:06:20 +08:00
1 parent 3f451aa047
commit 50d1457e7e
10 files changed
+10 -14

No files matched your search

-1
View File
@@ -60,7 +60,6 @@ class Artplayer extends Emitter {
theme: '#f00',
volume: 0.7,
isLive: false,
mse: false,
muted: false,
autoplay: false,
autoSize: false,
@@ -16,9 +16,9 @@ export default function attachUrlMix(art, player) {
typeCallback.call(art, $video, videoUrl, art);
art.emit('afterCustomType', typeName);
} else {
art.emit('beforeAttachUrl', videoUrl);
art.emit('beforeAttachUrl');
$video.src = videoUrl;
art.emit('afterAttachUrl', videoUrl);
art.emit('afterAttachUrl');
}
return Promise.resolve(videoUrl);
}
-1
View File
@@ -18,7 +18,6 @@ export default {
theme: 'string',
volume: 'number',
isLive: 'boolean',
mse: 'boolean',
muted: 'boolean',
autoplay: 'boolean',
autoSize: 'boolean',