Removed an un-used variable.
This commit is contained in:
parent
896ea7c689
commit
0cb2f95888
@ -141,8 +141,6 @@ class Ads {
|
|||||||
* @param {Event} adsManagerLoadedEvent
|
* @param {Event} adsManagerLoadedEvent
|
||||||
*/
|
*/
|
||||||
onAdsManagerLoaded(adsManagerLoadedEvent) {
|
onAdsManagerLoaded(adsManagerLoadedEvent) {
|
||||||
const { container } = this.player.elements;
|
|
||||||
|
|
||||||
// Get the ads manager.
|
// Get the ads manager.
|
||||||
const settings = new google.ima.AdsRenderingSettings();
|
const settings = new google.ima.AdsRenderingSettings();
|
||||||
|
|
||||||
@ -158,7 +156,7 @@ class Ads {
|
|||||||
this.adsCuePoints = this.adsManager.getCuePoints();
|
this.adsCuePoints = this.adsManager.getCuePoints();
|
||||||
|
|
||||||
// Add advertisement cue's within the time line if available.
|
// Add advertisement cue's within the time line if available.
|
||||||
this.adsCuePoints.forEach((cuePoint, index) => {
|
this.adsCuePoints.forEach((cuePoint) => {
|
||||||
if (cuePoint !== 0 && cuePoint !== -1) {
|
if (cuePoint !== 0 && cuePoint !== -1) {
|
||||||
const seekElement = this.player.elements.progress;
|
const seekElement = this.player.elements.progress;
|
||||||
const cue = utils.createElement('span', {
|
const cue = utils.createElement('span', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user