Skip to content

Commit

Permalink
Loaded event added
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendin committed Jun 6, 2019
1 parent 29f2944 commit bbcc364
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Creative/AbstractLinearCreative.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

abstract class AbstractLinearCreative extends AbstractNode
{
/**
* this event should be used to indicate when the player considers that it has loaded
* and buffered the creative’s media and assets either fully or to the extent that it is ready to play the media.
*/
const EVENT_TYPE_LOADED = 'loaded';

/**
* not to be confused with an impression, this event indicates that an individual creative
* portion of the ad was viewed. An impression indicates the first frame of the ad was displayed; however
Expand Down Expand Up @@ -132,6 +138,7 @@ protected function getDomElement()
public static function getEventList()
{
return array(
self::EVENT_TYPE_LOADED,
self::EVENT_TYPE_CREATIVEVIEW,
self::EVENT_TYPE_START,
self::EVENT_TYPE_FIRSTQUARTILE,
Expand Down

0 comments on commit bbcc364

Please sign in to comment.