Removed an un-used variable.

This commit is contained in:
Arthur Hulsman 2018-01-17 15:43:08 +01:00
parent 896ea7c689
commit 0cb2f95888

View File

@ -141,8 +141,6 @@ class Ads {
* @param {Event} adsManagerLoadedEvent
*/
onAdsManagerLoaded(adsManagerLoadedEvent) {
const { container } = this.player.elements;
// Get the ads manager.
const settings = new google.ima.AdsRenderingSettings();
@ -158,7 +156,7 @@ class Ads {
this.adsCuePoints = this.adsManager.getCuePoints();
// Add advertisement cue's within the time line if available.
this.adsCuePoints.forEach((cuePoint, index) => {
this.adsCuePoints.forEach((cuePoint) => {
if (cuePoint !== 0 && cuePoint !== -1) {
const seekElement = this.player.elements.progress;
const cue = utils.createElement('span', {