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

videocontext

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

videocontext - npm Package Compare versions

Comparing version 0.24.0 to 0.24.1

src/SourceNodes/videotracknode.js

5

package.json
{
"name": "videocontext",
"version": "0.24.0",
"version": "0.24.1",
"description": "A WebGL & HTML5 graph based video composition library",

@@ -15,3 +15,3 @@ "contributors": [

"build": "./node_modules/webpack/bin/webpack.js --config webpack.config.js && ./node_modules/webpack/bin/webpack.js --config webpack.commonjs2.config.js",
"dev": "./node_modules/webpack/bin/webpack.js --watch --config webpack.config.js & ./node_modules/http-server/bin/http-server"
"dev": "./node_modules/webpack/bin/webpack.js --watch --config webpack.config.js & ./node_modules/reload/bin/reload -b"
},

@@ -29,2 +29,3 @@ "dependencies": {},

"node-libs-browser": "^0.5.2",
"reload": "^1.0.1",
"webpack": "^1.9.11"

@@ -31,0 +32,0 @@ },

8

src/SourceNodes/imagenode.js

@@ -13,2 +13,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015

this._attributes = attributes;
this._textureUploaded = false;
}

@@ -66,3 +67,8 @@

//if (!super._update(currentTime)) return false;
super._update(currentTime);
if (this._textureUploaded){
super._update(currentTime, false);
}else{
super._update(currentTime);
}
if (this._startTime - this._currentTime < this._preloadTime && this._state !== SOURCENODESTATE.waiting && this._state !== SOURCENODESTATE.ended)this._load();

@@ -69,0 +75,0 @@

@@ -317,3 +317,3 @@ //Matthew Shotton, R&D User Experience,© BBC 2015

_update(currentTime){
_update(currentTime, triggerTextureUpdate=true){
this._rendered = true;

@@ -351,3 +351,3 @@ let timeDelta = currentTime - this._currentTime;

if(this._state === STATE.playing){
updateTexture(this._gl, this._texture, this._element);
if(triggerTextureUpdate)updateTexture(this._gl, this._texture, this._element);
if(this._stretchPaused){

@@ -354,0 +354,0 @@ this._stopTime += timeDelta;

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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