Sorry, only wmv, mp4, avi and mov video files are allowed.Sorry, your file was not uploaded, try a different image type."https:\/\/nostr.build\/i\/"

Reply to this note

Please Login to reply.

Discussion

Was this the response you got back to your clipboard? What video type were you trying to upload?

I will look into adding some sort of logic will return an error to the user when they try to upload an unsupported file type. This is a limitation imposed by nostr.build.

Yes, that was pasted directly from my clipboard. So, that’s the interesting part, though… I was uploading a jpg. 🤷🏻‍♂️

#[5] what are all the current supported file types?

It’s a picture I’ve uploaded there before direct from my phone. Same file. 🧐

I honestly have no idea what it could be then lol seems to be working for most people.

Out of curiosity, if you try again, does it return the same result?

It might be hvec, apple specific type that is not supported. Apple might be converting it for the upload program, but not for this flow?

Just tested and works for me on a few images, but I would have issues before with hvec native..

Supported files; jpg, png, gif, mov, mp4

I bet that’s exactly what’s happening.

I converted my iPhone back to jpeg.. screw hvec!who supports that crap???

It’s the Lightning Connector of image formats.

How’d you convert it back? In the settings somewhere?

Good to know, thanks!

I am getting the same results from my photo library

It’s because the HEIC image type is not supported.

Switch to “Most Compatible” format under Settings > Camera and photos you take with camera will be saved in a supported format.

Another solution would be for #[2]​ to add support for HEIC but that might be challenging..

Perfect thanks, would this change format for already taken photos or only ones moving forward?

Moving forward. It doesn't reformat the previously taken images. A stupid workaround would be screenshotting the photo, as screenshots are saved as jpgs always.

Cool, tried that and it works. Janky but it works! Thanks. Sweet shortcut gonna be a life saver ⚡️

Updated the shortcut so that it throws an error if you’re trying to upload an HEIC type file: https://www.icloud.com/shortcuts/bde8c50b19084bbc8d0f6f7e5868530c

I got the same thing when trying a photo.

Seems to work if I use a screenshot like the demo video but not from the photos app.

Your images are probably HEIC, which is not supported by Nostr.build.

You can change this in Settings > Camera to “Most Compatible” instead of “High Efficiency”