Comparing version 8.1.2 to 8.2.0
{ | ||
"name": "tal", | ||
"version": "8.1.2", | ||
"version": "8.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": "8.1.2", | ||
"version": "8.2.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -37,1 +37,7 @@ # TAL -- TV Application Layer | ||
For developers who want to modify and contribute to TAL, we have a page on [testing](https://bbc.github.io/tal/testing.html) which you should follow before starting development. | ||
## Releasing (FOR MAINTAINERS) | ||
See https://confluence.dev.bbc.co.uk/display/tvpjsfrmwk/TAL+Deployment+Process+for+Cosmos. | ||
@@ -37,4 +37,6 @@ /** | ||
*/ | ||
setSource: function setSource (mediaType, url, mimeType) { | ||
setSource: function setSource (mediaType, url, mimeType, opts) { | ||
opts = opts || {}; | ||
if (this.getState() === MediaPlayer.STATE.EMPTY) { | ||
this._disableSentinels = opts.disableSentinels; | ||
this._type = mediaType; | ||
@@ -501,2 +503,6 @@ this._source = url; | ||
_setSentinels: function _setSentinels (sentinels) { | ||
if (this._disableSentinels) { | ||
return; | ||
} | ||
this._sentinelLimits.pause.currentAttemptCount = 0; | ||
@@ -503,0 +509,0 @@ var self = this; |
@@ -38,4 +38,6 @@ /** | ||
*/ | ||
setSource: function setSource (mediaType, url, mimeType) { | ||
setSource: function setSource (mediaType, url, mimeType, opts) { | ||
opts = opts || {}; | ||
if (this.getState() === MediaPlayer.STATE.EMPTY) { | ||
this._disableSentinels = opts.disableSentinels; | ||
this._trustZeroes = false; | ||
@@ -725,2 +727,6 @@ this._ignoreNextPauseEvent = false; | ||
_setSentinels: function _setSentinels (sentinels) { | ||
if (this._disableSentinels) { | ||
return; | ||
} | ||
var self = this; | ||
@@ -727,0 +733,0 @@ this._clearSentinels(); |
@@ -140,4 +140,5 @@ /** | ||
* @param {String} mimeType type of media resource | ||
* @param {Boolean} opts.disableSentinels disables sentinels if modifier would normally have them | ||
*/ | ||
setSource: function setSource (/*mediaType, url, mimeType*/) { | ||
setSource: function setSource (/*mediaType, url, mimeType, opts*/) { | ||
throw new Error('setSource method has not been implemented'); | ||
@@ -144,0 +145,0 @@ }, |
Sorry, the diff of this file is too big to display
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
3867333
626
98703
43
4