diff --git a/src/js/media-controller.js b/src/js/media-controller.js index 91f99bac0..799b509a6 100644 --- a/src/js/media-controller.js +++ b/src/js/media-controller.js @@ -1025,6 +1025,10 @@ const Delegates = { const media = controller.media; if (!media) return false; + if (typeof media.liveEdgeStart === 'number') { + if (Number.isNaN(media.liveEdgeStart)) return false; + return media.currentTime >= media.liveEdgeStart; + } const streamIsLive = controller.getAttribute(MediaUIAttributes.MEDIA_STREAM_TYPE) === 'live'; const seekable = media.seekable;