I am trying to play video in a HTML page.
But the video always play from the beginning.
I saved the time in a cookie and I am trying to play the video from that time.
There seems to be a seek function to achieve this?
How to play a video from a specific time using dash.js?
I encountered the same issue. The problem is probably that you are trying to seek before the player is ready. I came up with the following solution:
With this, seek works correctly.