mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
update common code
This commit is contained in:
1 parent
495782f5c6
commit
11bc295663
14 files changed
+59
-44
No files matched your search
@@ -85,7 +85,6 @@ export default class Mse {
|
||||
|
||||
this.art.on('mediaSource:sourceopen', () => {
|
||||
this.sourceBuffer = this.mediaSource.addSourceBuffer(option.mimeCodec);
|
||||
|
||||
sourceBuffer.events.forEach(eventName => {
|
||||
this.sourceBuffer.addEventListener(eventName, this.sourceBufferEventFn);
|
||||
this.art.destroyEvents.push(() => {
|
||||
|
||||
Reference in new issue
Block a user