What do you want to do with Hls.js?
I'd like to add a button under the stream that is "Jump to Live", which immediately plays the most recently received fragment. There'll be warnings that say it'll probably buffer and lag, but I'd still like to provide the option.
How can this be done?
What have you tried so far?
Tried looking for seek options in the API docs
Also tried extracting the HTML5 Video element and changing video.currentTime, and that works, but I also need to know where the most up to date fragment time is.
Thanks in advance!
video.currentTime = video.duration - 1
Most helpful comment
video.currentTime = video.duration - 1