Hum.. yeah something is wrong. Even the browser downloads the file instead of playing the video directly. 🤔
Is it returning the right content type?
nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z nostr:npub1utx00neqgqln72j22kej3ux7803c2k986henvvha4thuwfkper4s7r50e8 I've seen this before, videos served via my Haven blossom relay don't get show correctly in Amethyst. Anything I'm missing in terms of blossom config or known problems? See the initial note for an example.
Hum.. yeah something is wrong. Even the browser downloads the file instead of playing the video directly. 🤔
Is it returning the right content type?
Yeah, i think the issue is the lack of content type on the returning headers. The app doesn't know what this file contains.
Thanks, I'll try to fix it 🙏
Testing video to ensure it's not my code
https://relay.utxo.one/83f8937e0201fe7bdb6bcacd66ef724c22b39897a2565a81468ef09d7acff5dd.mp4
it isnt your code
I checked using URL, requesting the file directly from the blossom server and there's no Content-Type — though that header is present.
< HTTP/1.1 200 OK
< Access-Control-Allow-Headers: Authorization
< Access-Control-Allow-Methods: GET PUT DELETE
< Access-Control-Allow-Origin: *
< Content-Type:
< Date: Sun, 26 Jan 2025 15:35:43 GMT
< Transfer-Encoding: chunked
Turns out I was using an outdated version (1.0.0) of Haven, where it didn't work. Now that I've upgraded to Haven v1.0.4 everything is fine. Thanks and sorry for the confusion.