Skip to content

Preview shows an empty player for video or audio files that can't be played #4249

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

A video or audio file that can't be played opens in the preview as an empty player stuck at 0:00, with no error message. A broken image shows "Failed to load" instead. The media elements use a child <source>, so a decode or format error fires on the <source>, not on <video>/<audio>. MediaVideo only uses it for its signed-URL retry and MediaAudio doesn't listen at all; neither emits an error to App.vue, so onMediaError never runs for them.

Reproduction Steps

  1. Upload a file named broken.mp4 (or broken.mp3) that contains random bytes
  2. Open it in the preview

Expected Outcome

The preview shows the same "Failed to load" error as for a broken image.

Actual Outcome

An empty player stuck at 0:00, no error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions