Show Menu
TOPICS×

mediaSession

This variable specifies the segments of a video or media asset consumed.
Max Size Debugger Parameter Reports Populated Default Value
255 Bytes pev3 Time Spent on Video
Video Segments Viewed
None
Syntax and Possible Values
autoTrack Method:
If using s.Media.autoTrack, the mediaName does not need to be implemented explicitly. It will be determined automatically by the AppMeasurement for JavaScript code.
Manual Tracking Method:
Syntax:
s.Media.open(mediaName,mediaLength,mediaPlayerName) 


s.Media.play(mediaName,mediaOffset)

s.Media.stop(mediaName,mediaOffset)

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


s.Media.play("de_bofr_1045Making_400k", "0")

s.Media.play("de_bofr_1045Making_400k", "414")

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


s.Media.play("de_bofr_1045Making_400k", "0")

s.Media.play("de_bofr_1045Making_400k", "414")

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 player cannot be tracked using s.Media.autoTrack = true.