Comparing version 7.1.2 to 7.2.0
{ | ||
"name": "tal", | ||
"version": "7.1.1", | ||
"version": "7.2.0", | ||
"homepage": "http://fmtvp.github.io/tal/index.html", | ||
@@ -5,0 +5,0 @@ "description": "TAL was developed internally within the BBC as a way of vastly simplifying TV application development whilst increasing the reach of BBC TV applications such as iPlayer. Today all of the BBC’s HTML-based TV applications are built using TAL.", |
{ | ||
"name": "tal", | ||
"license": "Apache-2.0", | ||
"version": "7.1.2", | ||
"version": "7.2.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -83,2 +83,5 @@ /** | ||
}; | ||
this._wrapOnPause = function() { | ||
self._onPause(); | ||
}; | ||
this._mediaElement.addEventListener('canplay', this._wrapOnFinishedBuffering, false); | ||
@@ -92,2 +95,3 @@ this._mediaElement.addEventListener('seeked', this._wrapOnFinishedBuffering, false); | ||
this._mediaElement.addEventListener('loadedmetadata', this._wrapOnMetadata, false); | ||
this._mediaElement.addEventListener('pause', this._wrapOnPause, false); | ||
@@ -380,2 +384,8 @@ var appElement = RuntimeContext.getCurrentApplication().getRootWidget().outputElement; | ||
_onPause: function() { | ||
if (this.getState() !== MediaPlayer.STATE.PAUSED) { | ||
this._toPaused(); | ||
} | ||
}, | ||
_onDeviceError: function() { | ||
@@ -488,2 +498,3 @@ this._reportError('Media element error code: ' + this._mediaElement.error.code); | ||
this._mediaElement.removeEventListener('loadedmetadata', this._wrapOnMetadata, false); | ||
this._mediaElement.removeEventListener('pause', this._wrapOnPause, false); | ||
this._sourceElement.removeEventListener('error', this._wrapOnSourceError, false); | ||
@@ -490,0 +501,0 @@ |
Sorry, the diff of this file is too big to display
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
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
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
5085940
98379
4