Skip to content

Commit

Permalink
Updated spinner to hide on all errors
Browse files Browse the repository at this point in the history
  • Loading branch information
heff committed May 7, 2014
1 parent 95d7e70 commit 2214207
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/css/video-js.less
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,13 @@ easily in the skin designer. http://designer.videojs.com/
/* Errors are unrecoverable without user interaction,
so hide the spinner in the case of an error */
.video-js.vjs-error .vjs-loading-spinner {
display: none;
/* using !important flag because currently the loading spinner
uses hide()/show() instead of classes. The !important can be
removed when that's updated */
display: none !important;

/* ensure animation doesn't continue while hidden */
.animation(none);
}

.vjs-default-skin .vjs-loading-spinner:before {
Expand Down

0 comments on commit 2214207

Please sign in to comment.