Versions Compared

Key

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

Currently, all known HTML5 media events are supported. For a list of all events, for example, see the following link: Media-Events (www.w3.org).

In addition, the following events are supported:

 

chapterclicked

Via the event "chapterclicked", time and title of the chapter are passed by clicking in the HTML5 or Flash player. In this way, the popularity of chapters can be evaluated through an external analytics tool.

Panel
bgColor#DCDCDC
borderStylenone

Player.registerEventListener('chapterclicked', function(e) {console.log(e);})

Parameter
Beschreibung
chapterclickedTracks time and title of the chapter
console.logOptional: Logging to the console

 

Sample Return

Panel
bgColor#DCDCDC
borderStylenone

Event {isTrusted: false, startTime: 5.682, title: "New chapter" }

 

 

 

lightadstarted

If a light ad within a video is playing, it can be tracked by the event "lightadstarted".

Panel
bgColor#DCDCDC
borderStylenone

Player.registerEventListener('lightadstarted', function(e) {console.log(e);})

Parameter
Beschreibung
lightadstartedTracks light ad started within a video
console.logOptional: Logging to the console