-
Notifications
You must be signed in to change notification settings - Fork 6
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
YouTube video pauses constantly #5
Comments
Hello, thanks a lot, glad you found the library useful. About the issue you are experiencing, does it happen even on the demo page? Which browser are you using when the said issue happens? I just tested my demo page in Chrome and Firefox and could not see the issue you described, I have tried tabbing out and resizing the browser. |
Yes, I noticed it on the demo page a bit as well. I was testing in Chrome (v60.0.3112.101) on a Mac (OS Sierra 10.12.4) Definitely getting it regularly on my demo, especially if I tab away and return after 10+ seconds: |
Any ideas @OriginalEXE ? |
Hi, apologies for the delay, I am swamped these last few days, lots of things going on. I have tried to reproduce this on my Mac (10.12.6) in Chrome 60.0.3112.113 and failed to do so. It works without any issues/glitches even when I leave it for some time. I have tried switching tabs and then coming back to it, giving focus to another app and returning to Chrome, etc. but still nothing. |
What I did notice today was the same kind of spinner you have while watching 4k videos on my MacBook on YouTube, and then switching tabs or opening some other resource-intensive app. So it could be that the spinner shows because Chrome assigns fewer resources to the tabs out of focus? Could you try setting the video quality to something low? |
Closing this for now, let me know if this happens again. |
First, I want to say you've done an excellent job with this library. It's easy to setup and I love the fluidity between self-hosted and youtube as options! So, thank you so much for coming up with an elegant solution to this highly popular feature 😎
One thing I noticed however, is that the video seemingly reloads itself FREQUENTLY. It seems to happen often when I leave the page and come back, resize the browser, or simply wait for it to loop. I'm constantly getting the loading spinner, even though the YouTube video has clearly already loaded fully (testing with a 10 sec clip).
Any ideas why this is? It's unusual and not something I see happening with the more basic CSS implementations of YouTube background videos, which leads me to believe it has to do with how you're looping the video or interacting with the API.
The text was updated successfully, but these errors were encountered: