在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:moshisushi/hlsjs-ipfs-loader开源软件地址:https://github.com/moshisushi/hlsjs-ipfs-loader开源编程语言:JavaScript 100.0%开源软件介绍:hlsjs-ipfs-loaderA js-ipfs loader for the hls.js JavaScript HLS client BuildingTo build hlsjs-ipfs-loader, make sure you have the latest version of npm installed. Then simply run the following commands from the hlsjs-ipfs-loader project root:
This will write a self-contained JS bundle to dist/index.js Browser exampleInclude script tags for HLS.js, js-ipfs and hlsjs-ipfs-loader:
After including these dependencies, add your own script that hooks everything up. Please see this example for more details. You can also click here to see this example in action in your browser, without checking out any code. NOTE: Chrome's strict security policies block the example from running locally, so you will either have to spin up a local web server to host it from (unless you want to explicitly fiddle with the policies), or run it in Firefox where this restriction currently doesn't exist. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论