添加視頻文件到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