From 5f892b74fc6b9e408840a084b236d0b305e36b19 Mon Sep 17 00:00:00 2001 From: Tzipi-kaltura Date: Mon, 13 Nov 2023 11:25:08 +0200 Subject: [PATCH] fix(SUP-40028): The playlist player freezes during the playback --- src/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.js b/src/player.js index b9344c0be..1eefa3944 100644 --- a/src/player.js +++ b/src/player.js @@ -1498,7 +1498,7 @@ export default class Player extends FakeEventTarget { getThumbnail(time: number): ?ThumbnailInfo { if (this._externalThumbnailsHandler.isUsingVttThumbnails()) { return this._externalThumbnailsHandler.getThumbnail(time); - } else if (this._engine) { + } else if (this._engine && typeof this._engine.getThumbnail === 'function') { return this._engine.getThumbnail(time); } return null;