My game in html5 browser-based, I have added a video inside the game. It works fine at the localhost level but when I upload this on the go-daddy server then everything works fine except video. The video takes pause and run time to time which seems like it is not properly loaded.
Is there a way to load the whole video before the layout displays its content?
Is your autoplay mode set to preload?
Try reducing the bitrate/size/qualitt of your video, it may simply be too large.
yes, my autoplay mode is set to preload, is that okay?
Develop games in your browser. Powerful, performant & highly capable.
That means it starts loading when your layout starts.
If you're still experiencing pauses during playback, your video is probably too large, or you're playing it when layout starts anyway so it doesn't have any extra time to buffer.