Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v8 #10

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Remove console logs.
  • Loading branch information
asllop committed Sep 20, 2024
commit 26f248194ab8b13a0ac138c143d9a59877a6f23b
7 changes: 0 additions & 7 deletions src/ads.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export class BitmovinAdTracker extends nrvideo.VideoTracker {
// }

registerListeners () {
console.log("Ads registerListeners", this)
let ev = bitmovin.player.PlayerEvent

this.player.on(ev.AdBreakStarted, this.onAdBreakStarted.bind(this))
Expand All @@ -54,19 +53,14 @@ export class BitmovinAdTracker extends nrvideo.VideoTracker {
}

onAdBreakStarted (ev) {
console.log("Ad break started ev = ", ev)
this.sendAdBreakStart()
console.log("Ad tracker after sendAdBreakStart =", this)
}

onAdBreakFinished (ev) {
console.log("Ad break finished ev = ", ev, this)
console.log("Ad tracker before sendAdBreakEnd =", this)
this.sendAdBreakEnd()
}

onAdStarted (e) {
console.log("Ad srarted =", e)
this.sendRequest()
this.sendStart()
}
Expand All @@ -84,7 +78,6 @@ export class BitmovinAdTracker extends nrvideo.VideoTracker {
}

onAdQuartile (e) {
console.log("Quartile = ", e)
let q = 0;
switch (e.quartile) {
case "firstQuartile":
Expand Down
Loading