-
Notifications
You must be signed in to change notification settings - Fork 213
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
Support Linear ads events and Player Operation events for VAST 4.1 #296
Support Linear ads events and Player Operation events for VAST 4.1 #296
Conversation
…ST 4.1 moved mocha configs to separate file to be able run any isolated test from IDE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just some minor comments about jsdocs
src/vast_tracker.js
Outdated
* or to the extent that it is ready to play the media | ||
* Calls the load tracking URLs. | ||
* | ||
* @emits VASTTracker#complete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it emit 'loaded"?
@@ -278,6 +278,7 @@ export class VASTTracker extends EventEmitter { | |||
setExpand(expanded) { | |||
if (this.expanded !== expanded) { | |||
this.track(expanded ? 'expand' : 'collapse'); | |||
this.track(expanded ? 'playerExpand' : 'playerCollapse'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add jsdocs for these trackers as well :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 @kobawan green light on my side to merge this
Support Linear ads events and Player Operation events for VAST 4.1
moved mocha configs to separate file to be able run any isolated test from IDE
Description
VAST 4.1 contains additional tracking events: playerExpand/playerCollapse which eventually replaces the fullscreen/exitFullscreen events and loaded which track then everything loaded for playing.
Type