mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
分离flv文件夹
This commit is contained in:
1 parent
2e0d70292b
commit
f8400002c2
9 files changed
+339
-54
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import Emitter from 'tiny-emitter';
|
||||
import CheckSupport from './checkSupport';
|
||||
import CreatMediaSource from './creatMediaSource';
|
||||
|
||||
class Flv extends Emitter {
|
||||
constructor(mediaElement, url) {
|
||||
super();
|
||||
this.mediaElement = mediaElement;
|
||||
this.url = url;
|
||||
this.support = new CheckSupport();
|
||||
this.mediaSource = new CreatMediaSource();
|
||||
}
|
||||
}
|
||||
|
||||
window.Flv = Flv;
|
||||
export default Flv;
|
||||
Reference in new issue
Block a user