t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: iPhone shows "Image unavailable" for Markdown-embedded audio (desktop plays it inline)

Open mimeeq-neal opened this issue 1 month ago • 2 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

iOS app, chat message rendering

Steps to reproduce

  1. On a macOS host (T3 Code Beta 0.1.3), have the agent (Claude Code harness) create an MP3 and embed it with the documented media syntax:
    ![T3 audio embed test (7 s)](</absolute/host/path with spaces/t3-audio-embed-test.mp3>)
    
    The path is outside the thread's project.
  2. On desktop, the message shows the inline audio player added in #4587.
  3. Open the same thread in the T3 Code iPhone app.

Expected behavior

An inline audio player, as on desktop. At minimum, the fallback #4587 asked for: a normal file link showing the filename, so the user can play or download the file.

Actual behavior

An image tile reading "Image unavailable" above the caption. There is no player, no link, and no way to open the file from the message. It happens with both a 7-second, 41 KB MP3 and a 2 min 28 s, 885 KB MP3.

Impact

Agent-generated audio (spoken summaries, recordings) can't be used on iPhone, which is where people most want to listen instead of read. The current workaround is copying the file to a cloud drive.

Version or commit

Host T3 Code (Beta) 0.1.3; iPhone app version not recorded.

Environment

macOS 26 (Darwin 25.6.0) host; iOS 27.0.1; MP3 files (audio/mpeg) at a host path outside the project, containing spaces and parentheses.

Screenshots, recordings, or supporting files

Screenshot to follow (IMG_4441).

Not verified

  • whether an MP3 inside the project behaves the same
  • whether T3's file viewer can play the file on iPhone
  • whether the phone connects through T3 Connect or the local network

Related

#4587 (desktop inline audio, closed as completed, desktop only), #17668 (iPhone "Image unavailable" for host-path images outside the project), #6497 (audio attachments from mobile clients)

Workaround

None inside T3; copy the file to Dropbox or iCloud and open it there.

mimeeq-neal avatar Oct 29 '26 09:10 mimeeq-neal

image

mimeeq-neal avatar Oct 29 '26 09:10 mimeeq-neal

This is fixed on main by 7bafc40c17 (#21353, "play audio inline and open shared files in the viewer"). Before that commit the mobile chat resolved only .pdf embeds as files, so an .mp3 embed went to the image renderer and showed "Image unavailable".

How I checked, on main at 48247dd4cc with a fresh server: I made a 7 s, 42 KB MP3 at a path outside the project that has spaces and parentheses (/tmp/…/media dir (host)/t3-audio-embed-test.mp3), had the agent reply with ![T3 audio embed test (7 s)](</…/media dir (host)/t3-audio-embed-test.mp3>), and opened the thread in the iOS app on an iPhone simulator.

  • The embed on its own line shows an inline audio card, and it plays (0:04 / 0:07 below).
  • The same embed in the middle of a sentence shows the filename as a link that opens the file.
  • The web client plays it inline as well.

iPhone thread showing the inline file link and the audio card iPhone audio card playing at 0:04 / 0:07

The fix reaches the iPhone app with its next release after that commit. Closing as fixed on main; if a build that includes it still shows "Image unavailable", please reopen with the app version from Settings.

juliusmarminge avatar Oct 29 '26 11:10 juliusmarminge