添加视频文件到IPFS存储仓库:浏览器
ipfs add -q sintel.mp4 | tail -n1
等待获得hash码,而后播放有几种方式:spa
ipfs cat $vidhash | mplayer -vo xv -
mplayer http://localhost:8080/ipfs/$vidhash
chromium http://localhost:8080/ipfs/$vidhash命令行
chromium http://localhost:8080/ipfs/$vidhash