-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Video upload isn't working like expected #32910
Comments
I had a similar issue today. #14530001-hc This error was a bit less helpful, "unknown error". The Learn More link just redirects to the Videopress website. That error shows when using the video block AND in the media library. The video itself seems fine, and if you copy the video URL into a paragraph block it embeds as expected. |
Noticed this on #14691764-hc |
This seems to be caused by some sort of polling to The VideoPress preview is also an iframe within an iframe within the Video block; that can't be good. |
I noted an interesting pattern. Every time the previews gets stuck in the loading state, requests to However, working previews get proper values: I think this is related to some kind of race condition and it's depending on the speed of the transcoder job (sometimes data is retrieved when the transcoder already set the dimensions, sometimes it is retrieved too early). |
Just confirmed the issue is coming from the VideoPress JS library. The player gets stuck because it is not refetching the data when the video is processing, although it should do it according to https://github.com/Automattic/videopress/blob/ff199f65feff54db19799005237b11687e3b9385/lib/watch.js#L28. Will keep investigating. |
It ended up being a problem of the |
Fix undergoing in D34084-code. |
Describe the bug
To reproduce
Steps to reproduce the behavior:
Expected behavior
Sometimes it's stuck with uploading, sometimes it's working
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: