Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Display a loading progress bar before the video starts to play


I'm very new to jwplayer and even to coding. . My video file is .mp4 and I set it to be autostart.Usually it loads very fast, but sometimes when net speed is not so good, the video block will be black and blank before the video starts to play.

I know I can set an image to fill that blank, but I am just wondering if we can fill it with a loading screen, where a progress bar shows the video loading progress.

I've tried onBufferChange, but it turns out this 'buffer' doesn't represent the loading progress I want to display - even after the video starts to play, the bufferPercent still returns 6%, 7%, 8%.. etc.

1 Community Answers

Andrew

JW Player Support Agent  
0 rated :

We don’t currently offer a way to hide the black space here during a load process. Potentially, you could replace the player with an image that changes when the player fires an onReady, but this would be a bit of additional coding external from the player itself.

This question has received the maximum number of answers.