bigscreen-player
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "bigscreen-player", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Simplified media playback for bigscreen devices.", | ||
@@ -33,6 +33,7 @@ "main": "script/bigscreenplayer.js", | ||
"requirejs": "2.3.6", | ||
"squirejs": "0.2.1" | ||
"squirejs": "0.2.1", | ||
"babel-preset-env": "1.7.0" | ||
}, | ||
"dependencies": { | ||
"dashjs": "github:bbc/dash.js#smp-v2.7.0-2" | ||
"dashjs": "github:bbc/dash.js#ab3e750bd26f9325ba13ab596c60b593672de8bb" | ||
}, | ||
@@ -39,0 +40,0 @@ "repository": { |
@@ -70,3 +70,4 @@ require( | ||
['initialize', 'getDebug', 'getSource', 'on', 'off', 'time', 'duration', 'attachSource', | ||
'reset', 'isPaused', 'pause', 'play', 'seek', 'isReady', 'refreshManifest', 'getDashMetrics', 'getMetricsFor']); | ||
'reset', 'isPaused', 'pause', 'play', 'seek', 'isReady', 'refreshManifest', 'getDashMetrics', 'getMetricsFor', 'setBufferToKeep', | ||
'setBufferAheadToKeep', 'setBufferTimeAtTopQuality', 'setBufferTimeAtTopQualityLongForm']); | ||
@@ -73,0 +74,0 @@ mockDashInstance.duration.and.returnValue(101); |
@@ -127,2 +127,9 @@ define('bigscreenplayer/playbackstrategy/msestrategy', | ||
mediaPlayer.getDebug().setLogToBrowserConsole(false); | ||
mediaPlayer.setBufferToKeep(0); | ||
mediaPlayer.setBufferAheadToKeep(20); | ||
mediaPlayer.setBufferTimeAtTopQuality(12); | ||
mediaPlayer.setBufferTimeAtTopQualityLongForm(12); | ||
mediaPlayer.initialize(mediaElement, src, true); | ||
@@ -129,0 +136,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
373353
50
7683
2
15