mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
改变flv插件加载方式
This commit is contained in:
1 parent
efb5f69dab
commit
7264d0b3a3
11 files changed
+84
-103
No files matched your search
@@ -29,10 +29,14 @@
|
||||
type: 'flv',
|
||||
customType: {
|
||||
flv: function(video, url) {
|
||||
this.plugins.artplayerPluginFlv.init(video, file || url);
|
||||
var flv = new Flv({
|
||||
mediaElement: video,
|
||||
url: url,
|
||||
});
|
||||
|
||||
flv.load();
|
||||
},
|
||||
},
|
||||
plugins: [artplayerPluginFlv]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user