-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Blob Url Support broke with 7.2.1 #5504
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Instead of checking for blob urls in the generic updateSourceCaches method, check for blob urls inside of handleTechSourceset before updating the source cache. Fixes #5504.
Just merged a fix, we should be making a release tomorrow. |
awesome! thanks @gkatsev and @brandonocasey ! |
Thank you. I was waiting for this fix :) |
It's out in 7.3.0, please try it out and report back if there are problems. If necessary, we can make a 7.2 patch but hopefully it won't be :) |
Instead of checking for blob urls in the generic updateSourceCaches method, check for blob urls inside of handleTechSourceset before updating the source cache. Fixes #5504.
Using
It doesn't work. HTML5 tech says it can't play it. However, if you specify a source object like this, with a
I suspect it's due to:
It's totally fine to supply the Suggestion: Perhaps add some check where it fits if the mimetype of the source cannot be determined. |
Interesting, you may want to open this as a new issue |
Description
When using a dynamically generated blob url as a video source, any player interaction will be silenced by video.js
It works flawlessly when triggering
.play()
directly on the HTMLVideoElement though.Reproduction case with comparison of 7.2.0 and 7.2.1: https://github.com/flipace/video.js-7.2.1-blob-issue. This is related to a change made in #5371
Steps to reproduce
Results
Expected
Playback should start when clicking the play button(s).
Actual
Nothing happens.
Error output
No errors. video.js is stuck and will always wait for the video to be loaded into its internal source cache (which never happens though)
Additional Information
versions
videojs
7.2.1 and above are affected
browsers | OSes
since this is a videojs internal issue probably all of them
The text was updated successfully, but these errors were encountered: