tomeshnet / ipfs-live-streaming

Like HTTP live streaming, but with IPFS which is maybe better?
GNU General Public License v3.0
446 stars 76 forks source link

CSP error in Firefox #83

Open albuic opened 5 years ago

albuic commented 5 years ago

An error is happening when loading https://live.mesh.world/ and is blocking the video.

ERROR: Content Security Policy: The report URI (about:blank) should be an HTTP or HTTPS URI.
ERROR: Content Security Policy: The page’s settings observed the loading of a resource at blob:https://live.mesh.world/6c99fe28-7ad1-4c53-b743-7d0ce5bd10dd (“worker-src”). A CSP report is being sent.
WARNING: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://ipfs-gateway.live.mesh.world/ipfs/QmZZyVAq6rJV3eA8YKRNct76nuiiEUaJXBEggBaD8GNzFr. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

It's actually multiple errors but they are "linked".

Really nice project ;-)

Web Browser: Firefox (OS: Debian)

benhylau commented 5 years ago

Two issues:

  1. Our hosted instance had a dead ipfs daemon, I have restarted it
  2. We are currently not streaming anything, so the live stream will show the last couple chunks from when it was last used to stream the @ournetworks meetup in Toronto

But it you can use this player to play recorded mp4 content such as:

https://live.mesh.world/?vod=QmWsKvBvXUKaHcHzrUS91XV4k3YjQFdywQ7bY9BZVX4ghk/video.mp4