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.50.1 to 0.50.2

2

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

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

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

// Initialise the video element cache
if(!options.useVideoElementCache) options.useVideoElementCache = true;
if(options.useVideoElementCache === undefined) options.useVideoElementCache = true;
this._useVideoElementCache = options.useVideoElementCache;

@@ -70,3 +70,3 @@ if (this._useVideoElementCache){

}
// Create a unique ID for this VideoContext which can be used in the debugger.

@@ -73,0 +73,0 @@ if(this._canvas.id) {

@@ -43,2 +43,5 @@ const stripHash = url => `${url.protocol}//${url.hostname}:${url.port}${url.pathname}`;

for (let element of this._elements) {
console.log(window.location);
console.log(stripHash(window.location));
console.log(element.src);
// For some reason an uninitialised videoElement has its sr attribute set to the windows href. Hence the below check.

@@ -45,0 +48,0 @@ if ((element.src === "" || element.src === undefined || element.src === stripHash(window.location)) && element.srcObject == null )return element;

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 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