HTML video playback seeking issue

What I’m trying to do:
I am working on a custom video player and am setting the source to a video in a data table via the media’s URL. The issue that I’m having is that I am unable to “seek” the video timeline. Whenever I try to move the progress bar to a new currentTime, the video restarts.

From the research I have found it appears the issue may be the server does not support partial content requests. Does anyone know a way to resolve this?

What I’ve tried and what’s not working:
I have tried using a stock URL (http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4) to isolate the issue with the way the anvil server is serving the video file. This stock URL does allow seeking.

Code Sample:

# this is a formatted code snippet.
# paste your code between ``` 

Clone link:
share a copy of your app

I did a similar project a while back but instead of using the vanilla js video player, I used videojs in a custom html. You should check it out as it gives more fine grained control

1 Like

Thanks, I’ll check that out!