Socket
Socket
Sign inDemoInstall

bonc-htmlplayer

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bonc-htmlplayer - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

2

package.json
{
"name": "bonc-htmlplayer",
"version": "1.0.21",
"version": "1.0.22",
"description": "东方国信的html播放器内核",

@@ -5,0 +5,0 @@ "main": "./dist/BoncH5Player.js",

@@ -22,2 +22,3 @@ import './libffmpeg_264_265.js';

};
this.isStart = false

@@ -80,13 +81,8 @@ if (audioNode) {

// 处理音频
if(!this.isStart){
this.isStart = true;
this.app.dispatch('startSuccess')
}
// try {
// if (this.nalsbonAudioarr && this.nalsbonAudioarr.length > 0) {
// // console.log('处理音频')
// this.handleAudio()
// }
// } catch (err){
// console.error(err)
// }
this.displayVideoFrame(obj);

@@ -152,2 +148,3 @@

this.webglPlayer.clear();
this.isStart = false
}

@@ -154,0 +151,0 @@

@@ -158,3 +158,3 @@ import ByteArray from './ByteArray';

// 验证是否具备h265解码的功能
this.app.dispatch('onGetVideoCode','H265');

@@ -165,2 +165,3 @@ this.app.dispatch('h265Info',{

})
// this.app.dispatch('')
}

@@ -167,0 +168,0 @@ this.ifDispatchVideoType = false;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc