mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
add fetchStream
This commit is contained in:
1 parent
7264d0b3a3
commit
6cc89edcd9
10 files changed
+209
-54
No files matched your search
@@ -31,10 +31,14 @@
|
||||
flv: function(video, url) {
|
||||
var flv = new Flv({
|
||||
mediaElement: video,
|
||||
url: url,
|
||||
url: file instanceof File ? file : url,
|
||||
});
|
||||
|
||||
flv.load();
|
||||
|
||||
this.on('destroy', () => {
|
||||
flv.destroy();
|
||||
});
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user