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;