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.38.3 to 0.39.0

2

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

@@ -5,0 +5,0 @@ "keywords":["video", "context", "composition", "timeline", "html5", "webgl"],

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

/**
* Create a transition on the timeline at an absolute time.
*
* @param {number} startTime - The time at which the transition should start (relative to time 0).
* @param {number} endTime - The time at which the transition should be completed by (relative to time 0).
* @param {number} currentValue - The value to start the transition at.
* @param {number} targetValue - The value to transition to by endTime.
* @param {String} propertyName - The name of the property to clear transitions on, if undefined default to "mix".
*
* @return {Boolean} returns True if a transition is successfully added, false otherwise.
*/
transitionAt(startTime, endTime, currentValue, targetValue, propertyName="mix"){
let transition = {start:startTime, end:endTime, current:currentValue, target:targetValue, property:propertyName};
if (!this._doesTransitionFitOnTimeline(transition))return false;
this._insertTransitionInTimeline(transition);
return true;
}
/**
* Clear all transistions on the passed property. If no property is defined clear all transitions on the node.

@@ -60,0 +79,0 @@ *

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

get elementURL(){
return this._elementURL;
}
_load(){

@@ -18,0 +22,0 @@

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

get elementURL(){
return this._elementURL;
}
_load(){

@@ -53,0 +57,0 @@ super._load();

@@ -121,4 +121,4 @@ //Matthew Shotton, R&D User Experience,© BBC 2015

url: node_url,
start: source._startTime,
stop: source._stopTime
start: source.startTime,
stop: source.stopTime
};

@@ -125,0 +125,0 @@ if (source._sourceOffset){

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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