Show Menu
TOPICS×

mediaLength

The variable specifies the total length of the media being played.
Max Size Debugger Parameter Reports Populated Default Value
No max size for entire pev3 request - size is limited to the browser's URL length limit. pev3 Time Spent on Video;
Video Segments Viewed
None
Syntax and Possible Values
autoTrack Method:
If using s.Media.autoTrack, the mediaLength variable does not need to be implemented explicitly. It is determined automatically by the AppMeasurement for JavaScript code.
Manual Tracking Method:
Syntax:
s.Media.open(mediaName,mediaLength,mediaPlayerName)

Possible Values:
s.Media.open("de_bofr_1045Making_400k", "414","Windows Media Player 11.0.5721.5230")

Examples
s.Media.open("de_bofr_1045Making_400k", "414","Windows Media Player 11.0.5721.5230")

Resulting pev3 parameter syntax: pev3= [Asset Name]--**--[Total length of asset]--**--[Player name]--**--[Total seconds consumed]--**--[Timestamp]--**--[Chronological record of all starts and stops along with accompanying markers]  
  

Possible pev3 values: pev3=de_bofr_1045Making_400k--**--414--**--Windows Media Player 11.0.5721.5230--**--288--**--1207893838--**--S0E0S0E256S0E32

Pitfalls, Questions, and Tips
  • You must call the media tracking methods only if the player cannot be tracked using s.Media.autoTrack = true.
  • If not tracking using autoTrack, be sure to set the length in seconds.