Skip to content

Commit

Permalink
Merge pull request #28 from Vendin/loaded-event
Browse files Browse the repository at this point in the history
Loaded event added
  • Loading branch information
sokil authored Jun 7, 2019
2 parents 29f2944 + bbcc364 commit e1b0bad
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 e1b0bad

Please sign in to comment.