添加flv.js演示

This commit is contained in:
Harvey Zack committed 2018-11-24 17:08:36 +08:00
1 parent c7c9e0a311
commit 8a9f70720a
11 files changed
+143 -33

No files matched your search

@@ -1,6 +1,5 @@
export default function switchMix(art, player) {
const {
refs: { $video },
i18n,
notice,
option,
@@ -11,9 +10,7 @@ export default function switchMix(art, player) {
if (url !== option.url) {
const { isPlaying } = art;
const { currentTime } = player;
art.emit('beforeMountUrl', url);
$video.src = player.mountUrl(url);
art.emit('afterMountUrl', url);
player.attachUrl(url);
option.url = url;
player.playbackRateRemove();
player.aspectRatioRemove();