Skip to content

Commit e1b0bad

Browse files
authored
Merge pull request #28 from Vendin/loaded-event
Loaded event added
2 parents 29f2944 + bbcc364 commit e1b0bad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Creative/AbstractLinearCreative.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
abstract class AbstractLinearCreative extends AbstractNode
88
{
9+
/**
10+
* this event should be used to indicate when the player considers that it has loaded
11+
* and buffered the creative’s media and assets either fully or to the extent that it is ready to play the media.
12+
*/
13+
const EVENT_TYPE_LOADED = 'loaded';
14+
915
/**
1016
* not to be confused with an impression, this event indicates that an individual creative
1117
* portion of the ad was viewed. An impression indicates the first frame of the ad was displayed; however
@@ -132,6 +138,7 @@ protected function getDomElement()
132138
public static function getEventList()
133139
{
134140
return array(
141+
self::EVENT_TYPE_LOADED,
135142
self::EVENT_TYPE_CREATIVEVIEW,
136143
self::EVENT_TYPE_START,
137144
self::EVENT_TYPE_FIRSTQUARTILE,

0 commit comments

Comments
 (0)