All notable changes to this project will be documented in this file.
- Fix
isAd
attribute value insendError
.
- Fix issue in
tracker.customData.deviceType
.
- Improve
totalAdPlaytime
.
- Only put
totalAdPlaytime
on START.
- Attribute
totalAdPlaytime
.
- Function
state.removeTimeSinceAttribute(...)
, to remove a custom timeSince attribute.
- Reset
totalPlaytime
after an END.
- Attribute
timeSinceSeekEnd
to BUFFER events.
- Initial bufferType when video is a live stream.
- Increment time margin for initial
bufferType
.
- When buffering happens before START, BUFFER events not being sent.
- Attribute
isBackgroundEvent
to indicate when an event happend during the browser tab is in background.
- Report
bufferType
as "pause" when it happens right after a RESUME event.
- Method
sendCustom
to send a custom action with a timeSince attribute.
- Use the same
bufferType
value for both BUFFER events.
- Call
trackerInit
method when a tracker is added.
bufferType
attribute to all BUFFER events.timeSinceResumed
attribute to all BUFFER events.
isInitialBuffering
attribute.
adPosition
, use state.isStarted from parent tracker (contents tracker) to determine current ad position.
- Minor issues on CAF Receiver environment.
diff
package to version 3.5.0.
- Updated dependencies to fix multiple vulnerabilities reported by
npm audit
.
- Event backend system.
- Issue with
isInitialBuffering
attribute.
- Add
isInitialBuffering
attribute.
- Fix issue with AD_BREAK_END and recovering CONTENT tracker state.
- Add
playtimeSinceLastEvent
andtotalPlaytime
as attributes.
- Fix
isAd
not being correctly reported.
- Reset
timeSinceAdStart
atCONTENT_REQUEST
.
- Fix
Tracker#sendHeartbeat
not passing attributes.
sendXXXXX
methods fromVideoTracker
will now usesend
internally instead ofemit
.- Added a boolean as a parameter in
VideoTracker#getRenditionShift(bool)
. If true, it will store the new rendition. This way you can callgetRenditionShift()
without disruptingRENDITION_CHANGE
events.
- Add
isPlayerReady
toVideoTrackerState
. - Add
shift
in*_RENDITION_CHANGE
events. Will reportup
ordown
depending on the change of rendition bitrate since last change.
- Remove
TRACKER_READY
andPLAYER_INIT
events. - Remove
sendPlayerInit
fromVideoTracker
. - Remove
timeSincePlayerInit
fromVideoTrackerState
. UsetimeSinceLoad
. - Remove
goPlayerInit
andisPlayerReadying
fromVideoTrackerState
.
- First
HEARTBEAT
will now containtimeSinceLastHeartbeat
counting since it was started. - Extend events of
VideoTracker
to cover all posibilities: fromEND
toCONTENT_END
andAD_END
.
- Add
adCreativeId
,adPartner
andcontentId/adId
attributes.
- Add
numberOfVideos
attribute, it shows the amount of videos reproduced.
- Fix a bug with
viewId
being incremented adCONTENT_START
instead on onCONTENT_REQUEST
.
- Add
addEventHandler
toLog.debugCommonVideoEvents
.
- Move
heartbeat
support fromVideoTracker
toTracker
.
- Fix minnor bug with
Tracker
class not reportingcustomData
.
viewSession
attribute.VideoTrackerState#goViewCountUp
to incrementviewCount
.
viewCount
going up BEFORECONTENT_END
is sent.
VideoTracker#getViewId
.
VideoTracker
not reporting user-defined attributes correctly.
- Expose
Chrono
class.
- Changed
timeSinceTrackerReady
behaviour.
TrackerState
class not found error.
- Move
getTrackerName
andgetTrackerVersion
fromVideoTracker
toTracker
class.
- Rename
Tracker
toVideoTracker
andTrackerState
toVideoTrackerState
. - Create a new
Tracker
intermediate class betweenEmitter
andVideoTracker
to provide support for non-video platforms.
- Add
coreVersion
as attribute for all events.
- Add
getHeartbeat
forTracker
class.
- Set default hearbeat to 30s.
- If you do not define a heartbeat for an adsTracker, it will take its parent value.
- Add
setOptions
forTracker
class.
- Stop heartbeat when disposing.
- Remove
adIsFullscreen
,adIsAutoplayed
,adIsLive
,adPlayrate
andadPreload
attributes from ad events.
Tracker#sendXXXXX
methods, now they distinguish between ads and no ads fortimeSinceXXXX
attrs.
- Add
CONTRIBUTING.md
file
- First Version