I have a rails app in production. In this rails app, I'm serving some video content to the user. I have all these videos stored in a Digital Ocean Space.
I'm using VideoJS for showing the videos. However, it's very common that I get this error:
A network error caused the media download to fail part-way.
After looking at a github issue, the consensus was that there was something wrong with the server, and not VideoJS. What do you think I should try doing?
Note: This was happening in development, and storage in that environment was on my hard disk However, I figured that once I was storing the videos in a "bucket," that it would work better but I'm still getting this error.
Has anyone else had this problem?
Update
So the videos are loading, and I'm able to watch them. However, when I'm around half way through the video, i'll get this error and then the video will just stop playing.