Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
https://sitename.tns-cs.net/j0=,,,;+,event=start+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+ct=%%DEVICE_TYPE%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=firstQuartile+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+ct=%%DEVICE_TYPE%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=midpoint+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+ct=%%DEVICE_TYPE%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=thirdQuartile+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+ct=%%DEVICE_TYPE%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=complete+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+ct=%%DEVICE_TYPE%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”

For the emedia-output we use the latest event (“start”, …, “complete”) coming into the system and calculate the playtime in relation tothe to the “event (event)” and the “duration (dur)”

...

It needs to be defined in the beginning of the VAST-project if “dur” will be delivered by the broadcasters in seconds or millisseconds for the emedia-output

event

calculation

start

pt = Math.round(stream.dur * 0.12)

firstQuartile

pt = Math.round(stream.dur * 0.37)

midpoint

pt = Math.round(stream.dur * 0.62)

thirdQuartile

pt = Math.round(stream.dur * 0.87)

complete

pt = Math.round(stream.dur * 1.0)