Closed whydna closed 6 years ago
+1 Same here.
The problem is in ipfs.files.cat function, hlsjs-ipfs-loader expects an stream data to pipe and receives a Uint8Array that isn't directly readable. I'll check better tomorrow.
Thanks for making me aware of this. Must be a change to how ipfs.files.cat works... I’ll look into this as soon as possible (or if you already have a patch for this feel free to create a pull request). Cheers
I fixed the problem, I'll send a pull request in some minutes.
Thanks a lot! I’ll publish a new npm version when I’m at the computer.
Alright, version 0.1.2 has been published and the example now runs fine (tested in Firefox as well).
https://www.npmjs.com/package/hlsjs-ipfs-loader
Closing this issue now. Thanks again @lucaslg26 for the patch!
Wow thank you guys!
I'm getting the following error after following the instructions in the README.
Any idea whats wrong?