mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
添加flv.js演示
This commit is contained in:
1 parent
c7c9e0a311
commit
8a9f70720a
11 files changed
+143
-33
No files matched your search
@@ -12,7 +12,7 @@ export default class Mse {
|
||||
init() {
|
||||
const { player, events } = this.art;
|
||||
this.setMimeCodec();
|
||||
Object.defineProperty(player, 'mountUrl', {
|
||||
Object.defineProperty(player, 'returnUrl', {
|
||||
value: () => {
|
||||
this.mediaSource = new MediaSource();
|
||||
const url = URL.createObjectURL(this.mediaSource);
|
||||
|
||||
Reference in new issue
Block a user