success! embedded #video playback working through ipfs:// protocol link
nostr:note1r70m4vgtwjfqu4nl0mt38de2m35tjzgvy6afmgs3vfaez02tm2ysr89egq
i just added #ipfs protocol in #iris source:
```ts
packages/system/src/text.ts, lines 49-50
normalizedStr.startsWith("magnet:") ||
normalizedStr.startsWith("ipfs:")
```
ipfs://bafybeiftpja3phbhs7klfbryuhft6myjoph2t7sb4uovnzgkfrg6rmco5u/DOAX%20VV%20Sexy%20Nagisa%20%2310%20%28%20MiX%20%29.%204K%20%5BMfBMl8WBtFA%5D.webm
here it is through gateway
https://bafybeibq5tj5h4rrogvocmn7fa3gzbhbv7i4t3rbqxg2j3i67namk5tmja.ipfs.cf-ipfs.com
now with iris theming
NODE_CONFIG_ENV=iris yarn build
https://bafybeibgygv7226ewp7dzyfbdsnmtalouo6g5cavdux4fmysx2qauowk3i.ipfs.cf-ipfs.com
ipfs://bafybeibgygv7226ewp7dzyfbdsnmtalouo6g5cavdux4fmysx2qauowk3i
here it is through gateway
https://bafybeibq5tj5h4rrogvocmn7fa3gzbhbv7i4t3rbqxg2j3i67namk5tmja.ipfs.cf-ipfs.com
deploying #iris on #ipfs,
i think its pretty much this:
yarn build
cd packages/app
ipfs add -r build
open the address in #brave
ipfs://
just some minor things, like logo wont load, and title says "snort" instead "iris", directly opening links like ipfs://cid/login dont work.
success
that note was published from #iris on #ipfs
at ipfs://bafybeibq5tj5h4rrogvocmn7fa3gzbhbv7i4t3rbqxg2j3i67namk5tmja
and this note as well
embedding images from ipfs:// protocol when page is loaded using another protocol in #brave, does not work. is this intended behaviour or missing feature? #ipfs #dev
inline image is visible when accessing with ipfs protocol link:
ipfs://bafybeie4s2n6lmnumrqyzf335ltrl6j6wdmpjam7ehaqgovvnn3vemaw2e/ipfs-img.html
inline image is not working here:
oops. my mistake
#coracle already makes ipfs:// links clickable!
firefox and chromium can open ipfs:// links/urls nicely in brave if it is installed
here is an example:
therefore even if you dont use brave as your main browser, you can open ipfs links just by clicking
now, can #nostr #devs make these links clickable? #iris #snort #coracle #primal #amethyst
ipfs://bafybeiebaho3ti2spj7iiyfe6zbblgk2tmuwqdpc6z5xjikoeii2peh2ba/nip93.html#4b536104bad1a0e462b199bcde04484ff0aadf66143e3aa73968576e7339ef8c
ipfs://bafybeiebaho3ti2spj7iiyfe6zbblgk2tmuwqdpc6z5xjikoeii2peh2ba/nip93.html#4b536104bad1a0e462b199bcde04484ff0aadf66143e3aa73968576e7339ef8c
data:text/html,#4b536104bad1a0e462b199bcde04484ff0aadf66143e3aa73968576e7339ef8c
both of the #nip-93s are good proposals
https://github.com/nostr-protocol/nips/pull/515
https://github.com/nostr-protocol/nips/pull/898
idk why fiatjaf has started two nips with same number(?)
#iris you can fix the image above. it uses nip-93 alt urls
data:text/html;r=nos.lol;p=https%3A%2F%2Fcorsproxy.org;i=https%3A%2F%2Fimagewnine.net%2Fimages%2F2022%2F07%2F10%2FLily-Rose-08-037.jpg;,#4b536104bad1a0e462b199bcde04484ff0aadf66143e3aa73968576e7339ef8c
nostr:note1h6p26076tpkfghc8yslzmnfuzzwxgfuw96hm3k2kq83l0avc683qmwtrue
loading preview and seeking is a bit hit or miss. seems to work best when video is opened in a new tab. however previews are important as no one really clicks to play video without preview
i tried #ipfs public gateways listed at ipfs.github.io for 550 MiB video file
i added video to my local node just few minutes ago, these are the gateways that almost immediately found it and are able to at least start playback:
cloudflare-ipfs.com
gateway.pinata.cloud
ipfs.cf-ipfs.com
nostr:note1u8wdwe48h662egkdph3ulc7gf62459lev07wamsnuaac7nmlew5qftq7vl
