henry-rodrick / hlsjs-ipfs-loader

A js-ipfs loader for the hls.js JavaScript HLS client
MIT License
60 stars 31 forks source link

refactor: config.ipfsHash is now optional #25

Open UnKnoWn-Consortium opened 3 years ago

UnKnoWn-Consortium commented 3 years ago

ipfsHash supplied via hls.config will be prepended to the filename with an appended slash only when available. FIlename can now be a CID path (e.g. QmYjtig7VJQ6XsnUjqqJvj7QaMcCAwtrgNdahSiFofrE7o/path/to/file). It is backward compatible. Close #23.