不合理

This commit is contained in:
Harvey Zack committed 2018-12-14 16:48:37 +08:00
1 parent f8400002c2
commit c6869686c3
4 files changed
+397 -320

No files matched your search

+2 -1
View File
@@ -4,10 +4,11 @@ function artplayerPluginFlv(art) {
const {
template: { $video },
} = art;
const flv = new Flv($video);
return {
load: url =>
new Promise(resolve => {
const flv = new Flv($video, url);
flv.loadUrl(url).start();
return resolve(flv.mediaSource.url);
}),
};