From 6f4bccc21e6dedc72f5ec016ae7548e4fde40f6a Mon Sep 17 00:00:00 2001 From: Yair Ansbacher Date: Tue, 7 May 2019 15:43:41 +0300 Subject: [PATCH] fix(FEC-9080): when seeking back from end screen no play button displayed (#8) Firing `SEEKED` while ad break, as this event exits the player from ended state (see [here](https://github.com/kaltura/playkit-js-ui/blob/9820c3514f9537d3971217a3e68c35480a3b4fb1/src/components/engine-connector/engine-connector.js#L144)) (No risk because the scrubber is hidden in ad UI) --- src/ima-dai-event-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ima-dai-event-manager.js b/src/ima-dai-event-manager.js index 5830c8d..ca1ab48 100644 --- a/src/ima-dai-event-manager.js +++ b/src/ima-dai-event-manager.js @@ -9,7 +9,7 @@ class ImaDAIEventManager { _queue: ImaDAIEventQueue; _dispatchEventHandler: Function; _eventManager: EventManager; - _parallelEvents: Array = [Html5EventType.VOLUME_CHANGE]; + _parallelEvents: Array = [Html5EventType.VOLUME_CHANGE, Html5EventType.SEEKED]; _stopEventDispatchingMap: {[event: string]: boolean} = { [Html5EventType.ENDED]: false };