Socket
Socket
Sign inDemoInstall

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.1.0 to 0.2.0

8

package.json
{
"name": "videocontext",
"version": "0.1.0",
"description": "A WebGL & HTML5 video composition library",
"version": "0.2.0",
"description": "A WebGL & HTML5 graph based video composition library",
"contributors": [

@@ -12,5 +12,5 @@ {

"scripts":{
"build_all":"./node_modules/webpack/bin/webpack.js --optimize-minimize --config webpack.config.js && ./node_modules/webpack/bin/webpack.js --config webpack.commonjs2.config.js && node ./node_modules/esdoc/out/src/ESDocCLI.js -c esdoc.json",
"build_all":"./node_modules/webpack/bin/webpack.js --config webpack.config.js && ./node_modules/webpack/bin/webpack.js --config webpack.commonjs2.config.js && node ./node_modules/esdoc/out/src/ESDocCLI.js -c esdoc.json",
"doc":"node ./node_modules/esdoc/out/src/ESDocCLI.js -c esdoc.json",
"build":"./node_modules/webpack/bin/webpack.js --optimize-minimize --config webpack.config.js && ./node_modules/webpack/bin/webpack.js --config webpack.commonjs2.config.js",
"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"

@@ -17,0 +17,0 @@ },

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

this._playbackRateUpdated = true;
this._loopElement = false;
}

@@ -24,10 +25,19 @@

set loopElement(loopElement){
this._loopElement = loopElement;
if (this._element) this._element.loop = loopElement;
}
get loopElement(){
return this._loopElement;
}
_load(){
super._load();
if (this._element !== undefined){
this._loopElement = this._element.loop;
if (this._element.readyState > 3 && !this._element.seeking){
if (this._stopTime === Infinity || this._stopTime == undefined) this._stopTime = this._startTime + this._element.duration;
//if (this._stopTime === Infinity || this._stopTime == undefined) this._stopTime = this._startTime + this._element.duration;
this._ready = true;
this._playbackRateUpdated = true;
} else{

@@ -42,2 +52,3 @@ this._ready = false;

this._element.src = this._elementURL;
this._element.loop = this._loopElement;
this._playbackRateUpdated = true;

@@ -44,0 +55,0 @@

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

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