mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
不合理
This commit is contained in:
1 parent
f8400002c2
commit
c6869686c3
4 files changed
+397
-320
No files matched your search
@@ -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);
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user