Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bonc-htmlplayer

Package Overview
Dependencies
Maintainers
5
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 5.0.11 to 5.0.12

2

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

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

@@ -12,3 +12,2 @@ import Event from "../../util/event";

this.queue = new Uint8Array();
this.cleaning = false;

@@ -96,3 +95,3 @@ this.pendingCleaning = 0;

// console.log(range)
//console.log(`${this.type} 删除多余的 range [${range[0]} - ${range[1]})`);
//console.log(`${this.type} 删除多余的 range [${range[0]} - ${range[1]})`);
this.cleaning = true;

@@ -146,3 +145,3 @@ this.sourceBuffer.remove(range[0], range[1]);

// debugger
console.log(e, this.type, this.videoNode.id, e.name);
// console.log(e, this.type, this.videoNode.id, e.name);
this.videoNode.addEventListener("error", function (e) {

@@ -149,0 +148,0 @@ console.error(e);

@@ -26,3 +26,4 @@ import { extractNALubonc } from "./utils";

fps: 25,
debug: true
debug: true,
mode:'audio'
};

@@ -425,3 +426,3 @@ this.options = defaults;

if (!this.clearBufferValidate) {
console.log(this.app.node.buffered.end(0) - this.app.node.currentTime);
// console.log(this.app.node.buffered.end(0) - this.app.node.currentTime);
return;

@@ -440,3 +441,3 @@ }

// console.log('this.app.node.currentTime',this.app.node.currentTime)
console.log('视频播超了:bufferLength:',bufferLength)
// console.log('视频播超了:bufferLength:',bufferLength)
// this.app.node.pause();

@@ -557,2 +558,3 @@ } else if (bufferLength > 0 && bufferLength <= 1) {

);
//console.log('type-cleanMaxLimit:',type,cleanMaxLimit)
this.bufferControllers[type].initCleanup(cleanMaxLimit);

@@ -559,0 +561,0 @@ }

@@ -260,2 +260,2 @@ export function appendByteArray(buffer1, buffer2)

export const version="5.0.11"
export const version="5.0.12"

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