studio.video.Reporter
Video reporting class to observe a video element.

Inheritance

Constructor

studio.video.Reporter(videoElement)

Parameters

videoElement : HTMLVideoElement
The video element to report on.

Static Methods

studio.video.Reporter.attach(videoReportingIdentifiervideoElementopt_trackAsAutoPlay)
Observes a video element for reporting.
Arguments:
videoReportingIdentifier : string
The name the video should report as.
videoElement : HTMLVideoElement
The video element to report on.
opt_trackAsAutoPlay : boolean=
Used to indicate whether to track the initial play as a "video interaction" for autoplay videos (the play event will always get tracked). This defaults to true.
studio.video.Reporter.detach(videoReportingIdentifier)
Stops a video reporting identifier from reporting.
Arguments:
videoReportingIdentifier : string
The reporting identifier of the video that should be stopped from reporting.

Package studio.video

Package Reference