Closed szczja closed 3 years ago
Thank you for reporting this. Elaho leaves up to iOS how to present binary files (PDF/MP3/etc). Unfortunately iOS doesn't support OGG format. For example, opening this - https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg - in Mobile Safari would only provide a Download option. iOS just displays the raw file for formats it does not support, hence
There are libraries that can be used, eg provided in this SO question, but I am split here as there are two options:
I am leaning towards keeping Elaho as simple as Gemini protocol itself, not overloading it with things that web browsers have like plugins, Flash players, user profiles, etc. In fact, in Trendy Talk episode 2021-02-15 - Gemini, the broken web and Nertz
around minute 22 they specifically talk about how great it is that an (unspecified) gemini browser would open Ogg files in your music player instead of playing it itself, and their disdain for web players.
Ok, I’m understand that Elaho won’t have build in music libraries for OGG. I’m writing about that this binary content is opened inside text window. There are no download option in Elaho as in Safari.
What is more that podcast page doesn’t have any visible description that this is a link to binary content and Elaho working for a while reading this binary-text content. I was thinking that Elaho crashed at the first time.
I should have been more clear in my post. Yes, current implementation is indeed broken (for at least OGG files). I was jumping towards deciding how to fix it. Tagged as bug.
Ok, now it’s clear. Thanks for your work.
v1.4 was released into App Store with this fix
I’ve approached on the gemini://chriswere.uk/trendytalk/ link with binary content which is opened as text. As I have read in Gemini protocol specification the response could be binary one. I don’t know if it problem with Elaho or server.