javascript - Why would someone make an XHR to an URL generated by URL.createObjectURL? -


i trying understand example code libvorbis.js library. blob audio passed url.createobjecturl, url returned used in xmlhttprequest generates blob passed url.createobjecturl again, , last url used in download link. why xmlhttprequest necessary? can't use url first call url.createobjecturl in download link?

according author:

i did because encountered bug in chrome android wouldn't want play audio url generated encoded audio blob directly. xhr call workaround come @ moment.

more: https://bugs.chromium.org/p/chromium/issues/detail?id=227476#c21

it looks since comment on feb 2, bug has been fixed of chrome 50.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -