Hi!
It seems that st.audio() stopped working on iOS Safari. Similar issue was already resolved in 2020 so…potential regression? Before posting an issue to github I would be gratefull if someone could check if you are encountering the same behavior
It seems that st.audio() stopped working on iOS Safari. Similar issue was already resolved in 2020 so…potential regression? Before posting an issue to github I would be gratefull if someone could check if you are encountering the same behavior
Hey @TomJohn,
It works on my computer! Is it just not playing the audio on yours?
Actually I take that back, it’s only working on Chrome (not Safari)
Posted a response on the GitHub Issue, but I think you need to set format="audio/mpeg"
for mp3s, and it should work. Let me know if you hit any more issues.
Hi @kmcgrady, thank you, it works! Awsome! I guess that we could edit the documentation to include this little but quite important fact
I’d hesitate to say it’s a docs issue. The default mime type for st.audio
is audio/wav
. Depending on the file you want to play, it can be audio/aac
, audio/midi
, audio/ogg
, audio/webm
, and so on:
The RFC-defined mime type for .mp3
files is audio/mpeg
, not audio/mp3
as was in the app. Seems like programming user-error to me.
Hi @snehankekre! True. It’s not a matter of insufficient documentation, however as an end-user, it would be helpful to have an MP3 example included in the documentation for better usability
Fair point! If it’s a fairly common use-case, it definitely warrants an example I’ll add one this week
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Nice ! I love the example mp3 purrrr
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.