Socket
Socket
Sign inDemoInstall

bigscreen-player

Package Overview
Dependencies
Maintainers
8
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigscreen-player - npm Package Compare versions

Comparing version 4.18.8 to 4.18.9

2

package.json
{
"name": "bigscreen-player",
"version": "4.18.8",
"version": "4.18.9",
"description": "Simplified media playback for bigscreen devices.",

@@ -5,0 +5,0 @@ "main": "script/bigscreenplayer.js",

@@ -31,4 +31,4 @@ define('bigscreenplayer/debugger/debugview',

staticBox.style.position = 'absolute';
staticBox.style.width = '26%';
staticBox.style.right = '5%';
staticBox.style.width = '30%';
staticBox.style.right = '1%';
staticBox.style.top = '15%';

@@ -72,20 +72,35 @@ staticBox.style.bottom = '25%';

if (dynamicLogs.length === 0) {
logContainer.innerHTML = '';
logContainer.textContent = '';
}
dynamicLogs = dynamicLogs.slice(-LINES_TO_DISPLAY);
logContainer.innerHTML = dynamicLogs.join('\n');
logContainer.textContent = dynamicLogs.join('\n');
var staticLogString = '';
logData.static.forEach(function (log) {
staticLogString = staticLogString + log.key + ': ' + log.value + '\n';
});
logData.static.forEach(updateStaticElements);
}
staticContainer.innerHTML = staticLogString;
function updateStaticElements (log) {
var existingElement = document.getElementById(log.key);
var text = log.key + ': ' + log.value;
if (existingElement) {
if (text !== existingElement.textContent) {
existingElement.textContent = text;
}
} else {
createNewStaticElement(log.key, log.value);
}
}
function createNewStaticElement (key, value) {
var staticLog = document.createElement('div');
staticLog.id = key;
staticLog.style.paddingBottom = '1%';
staticLog.style.borderBottom = '1px solid white';
staticLog.textContent = key + ': ' + value;
staticContainer.appendChild(staticLog);
}
function tearDown () {
var logBox = document.getElementById('logBox');
var staticBox = document.getElementById('staticBox');
DOMHelpers.safeRemoveElement(logBox);

@@ -92,0 +107,0 @@ DOMHelpers.safeRemoveElement(staticBox);

@@ -255,6 +255,6 @@ define('bigscreenplayer/mediasources',

DebugTool.keyValue({key: 'available cdns', value: availableCdns()});
DebugTool.keyValue({key: 'url', value: getCurrentUrl()});
DebugTool.keyValue({key: 'url', value: stripQueryParamsAndHash(getCurrentUrl())});
DebugTool.keyValue({key: 'available subtitle cdns', value: availableSubtitlesCdns()});
DebugTool.keyValue({key: 'subtitles url', value: getCurrentSubtitlesUrl()});
DebugTool.keyValue({key: 'subtitles url', value: stripQueryParamsAndHash(getCurrentSubtitlesUrl())});
}

@@ -261,0 +261,0 @@

define('bigscreenplayer/version',
function () {
return '4.18.8';
return '4.18.9';
}
);
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