diff --git a/src/lib/viewers/media/MediaBaseViewer.js b/src/lib/viewers/media/MediaBaseViewer.js index f6722fd72..6f95728dc 100644 --- a/src/lib/viewers/media/MediaBaseViewer.js +++ b/src/lib/viewers/media/MediaBaseViewer.js @@ -540,7 +540,7 @@ class MediaBaseViewer extends BaseViewer { * @return {boolean} - true if time is valid */ isValidTime(time) { - return typeof time === 'number' && Number.isFinite(time) && time >= 0 && time <= this.mediaEl.duration; + return typeof time === 'number' && time >= 0 && time <= this.mediaEl.duration; } /**