From bbcc3645adfda313532bcf9a132443b31fb1b848 Mon Sep 17 00:00:00 2001 From: Vendin Date: Thu, 6 Jun 2019 12:00:48 +0300 Subject: [PATCH] Loaded event added --- src/Creative/AbstractLinearCreative.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Creative/AbstractLinearCreative.php b/src/Creative/AbstractLinearCreative.php index 0c0dd8e..97012dc 100644 --- a/src/Creative/AbstractLinearCreative.php +++ b/src/Creative/AbstractLinearCreative.php @@ -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 @@ -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,