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%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=firstQuartile+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=midpoint+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=thirdQuartile+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
https://sitename.tns-cs.net/j0=,,,;+,event=complete+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”

So the following variables are given by these requests:

...

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 outpuremedia-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)