facundofernandez / videojs-dvr

MIT License
10 stars 8 forks source link

Setting videojs-dvr currentTime question #11

Open loversandcode opened 4 years ago

loversandcode commented 4 years ago

Hello, this is not an issue, rather it's a question.

I see that in your plugin you could set dvr time playing by interface bar, but can't we do something like this from code?

let time = this.player.liveTracker.seekableStart(); this.player.currentTime(time);

and it seems like it switched playback to the right timing, i see DVR from the start to the stream, but i cannot return back to live and it's showing me seek bar like it's in "live" state.

Maybe I do something wrong? Can you help me with this?