end (Browser)

From Engineering Client Portal

Revision as of 21:51, 21 May 2017 by Admin (talk | contribs) (Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Browser SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:Browser SDK API Reference To capture an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / Browser SDK API Reference / end (Browser)
To capture and send the end of an ad or content

  • It is very important that the SDK calls stop at the end of content.
  • When the player does not send a stop call, Browser SDK will trigger the call, for every change in assetid. This stop call corresponds to the last loadMetadata call.
  • If an end is not issued, the subsequent pings remain in the queue until they are cleared upon a Browser close / refresh.

Syntax

ggPM('57', playheadposition); // For VA users only


International (Germany) implementation

ggPM("end", playheadposition); // Except VA users

Input Parameters

Parameter Description
event end
playheadposition The exact position of playhead when streaming ended.

Notes

It is important to have a call for end for each ‘content’ asset played (but not for ads). Each sequence started with loadMetadata must eventually end with end to let SDK know the main content has ended.