mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
update
This commit is contained in:
1 parent
f2658673dc
commit
ad2aafe07f
8 files changed
+16
-3
No files matched your search
@@ -11,6 +11,10 @@ class Flv extends Emitter {
|
||||
this.mediaSource = new CreatMediaSource(this);
|
||||
}
|
||||
|
||||
load() {
|
||||
console.log(this);
|
||||
}
|
||||
|
||||
destroy() {
|
||||
console.log(this);
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ function artplayerPluginFlv(art) {
|
||||
flv,
|
||||
init: (mediaElement, url) => {
|
||||
flv = new Flv(mediaElement, url);
|
||||
flv.load();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user