Video.js: hide default loading bar

Created on 29 Aug 2016  Â·  4Comments  Â·  Source: videojs/video.js

I used the picture to customize the loading bar, and want to hide the default loading bar, how to do ?

Most helpful comment

Ah, the spinner. You could use this CSS, which has to come after video.js' CSS:

.vjs-seeking .vjs-loading-spinner,
.vjs-waiting .vjs-loading-spinner {
  display: none;
}

All 4 comments

Do you mean the video progress control that appears in the control bar?

If so, you can remove it with a function call like player.removeChild('ProgressControl') before adding your own progress control.

thanks,i tried, failed,

qq 20160830075223

i want to hide this:
qq 20160830075015

Ah, the spinner. You could use this CSS, which has to come after video.js' CSS:

.vjs-seeking .vjs-loading-spinner,
.vjs-waiting .vjs-loading-spinner {
  display: none;
}

it work, thank u~

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0xsven picture 0xsven  Â·  3Comments

kitsunde picture kitsunde  Â·  4Comments

jeonghwaYoo picture jeonghwaYoo  Â·  3Comments

zhulduz picture zhulduz  Â·  3Comments

gfviegas picture gfviegas  Â·  3Comments