Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(css): add a delay before showing loading spinner #4806

Merged
merged 4 commits into from
Dec 14, 2017

Conversation

keymnsk
Copy link
Contributor

@keymnsk keymnsk commented Dec 12, 2017

In some browsers (chrome on windows) when playing high fps video (.mp4 60 fps) there is blinking loader that keeps showing all the time while playing, despite buffer size.

I suggest add a delay (0.3s) before showing it.

keymnsk and others added 4 commits December 7, 2017 17:26
In some browsers (chrome on windows) when playing high fps video (.mp4 60 fps) there is blinking loader that keeps showing all the time while playing, despite buffer size. 
So i suggest to add a short throttle to avoid this.
@misteroneill
Copy link
Member

I like this idea. I feel like we regularly have people bring up minor complaints about the spinner appearing for a split second now and then. Hopefully this improves the UX. Thanks for the PR! 👍

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested this. Works great!
Thanks @keymnsk.

@gkatsev gkatsev changed the title feat: css: add a delay before showing loading spinner feat(css): add a delay before showing loading spinner Dec 13, 2017
@gkatsev gkatsev merged commit f47a083 into videojs:master Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants