-
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
BlobBuilder is not defined at video.min.js:22 (7.21) on webos 6.x (emulator) #8159
Comments
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
👋 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. |
I understand it might be hard to reproduce due to the not very common platform. To develop on webOS, LG offers emulators and an IDE. If needed, I should be able to create a sample single-page app/project scaffold that shows/repros the symptom/behaviour (I can't share my production apps' code as it is too complex). |
Perhaps it needs a Blob polyfill? BlobBuilder is only tried in the catch block in the worker polyfill. From line 44796 in https://unpkg.com/browse/video.js@7.21.1/dist/video.js |
Thank you for your comment. It's possible that it would fix it - I am such a JS newbie 😅 I will try.... Is there any library in particular you would suggest for this? Caveats are that on those webOS apps is NOT possible to fetch anything from CDNs (everything has to be packaged in the app), and this is a very old-style project with just the bare minimum: a bunch of html, css and js files and a couple of libraries imported by hand (no package manager, no frameworks...)... this is intentional as some of those devices are very small machines with slow processors and little memory so the app doesn't bring a lot of bloat with it. Any advice would be appreciated 🙏 |
I did some experiments hooking up this one (which required some refactoring in the way I was loading stuff, instruducing requireJS). But it still errors the same way. Here some console.log from which you should see that 'Blob' is 'native code' initially, but after Blob.js gets loaded it becomes an object - it's the one with Fire, FileReader, Blob in video.html:39.... and that Blob function within it again maps to 'native code'... so I guess this platform has some support for it and the polyfill returns the original object without replacing it?)... or am I loading it wrong? Before loading blob support I also tried this other approach https://stackoverflow.com/a/16545415/439475 but it also fails on these two guys he can't find WebKitBlobBuilder || MozBlobBuilder I am at loss. |
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
Description
Hi, I have a standalone/packaged web application that runs on webOS Smart TVs from LG, published on their content store, for my company's streaming service. It has been running with an old version (7.6) of videojs for a couple of years without major problems. But I would like to upgrade the package with something newer. I tried with 7.21.1 - which is what we are running on our website by now - but when running it in their emulator/debugger, it blows up
Uncaught ReferenceError: BlobBuilder is not defined
at video.min.js:22
at new (video.min.js:22)
at new e (video.min.js:26)
at e.t.src (video.min.js:26)
at Object.handleSource (video.min.js:26)
at s.r.setSource (video.min.js:20)
at o. (video.min.js:20)
at o.e.ready (video.min.js:12)
at o.e.techCall_ (video.min.js:20)
at o. (video.min.js:20)
it seems to be something they don't support in the browser engine/javascript interpreter?
Have you seen this before/are you aware of it?
Reduced test case
No response
Steps to reproduce
player.src([{ type: 'application/x-mpegURL', src: 'https://fob.bar.site/vod/123456767/playlist.m3u8'}]);
Errors
Uncaught ReferenceError: BlobBuilder is not defined
at video.min.js:22
at new (video.min.js:22)
at new e (video.min.js:26)
at e.t.src (video.min.js:26)
at Object.handleSource (video.min.js:26)
at s.r.setSource (video.min.js:20)
at o. (video.min.js:20)
at o.e.ready (video.min.js:12)
at o.e.techCall_ (video.min.js:20)
at o. (video.min.js:20)
What version of Video.js are you using?
7.21.1
Video.js plugins used.
none
What browser(s) including version(s) does this occur with?
webOS
What OS(es) and version(s) does this occur with?
webOS
The text was updated successfully, but these errors were encountered: