viewer icon indicating copy to clipboard operation
viewer copied to clipboard

Improve error handling of unplayable videos

Open schiessle opened this issue 5 months ago • 3 comments

⚠️ This issue respects the following points: ⚠️

Bug description

I can't play videos from within Nextcloud (tested on c.nc.com)

Tested with Firefox 141.0 on Linux and Chromium 138.0.7204.183

Steps to reproduce

  1. Navigate to a video (in my case a mkv-file)
  2. open it

I will see a spinner but the video never starts:

Image

Interestingly the talk desktop client seems to have a different player build in. The Talk desktop client plays at least the audio, but the video stays black.

Expected behavior

Nextcloud plays the video in the browser

Nextcloud Server version

31

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • [ ] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report


List of activated Apps


Nextcloud Signing status


Nextcloud Logs


Additional info

No response

schiessle avatar Aug 07 '25 14:08 schiessle

Yes, the browser cannot play your file. We should improve the error catching of that error.

skjnldsv avatar Aug 13 '25 05:08 skjnldsv

you are right, I should have checked it before creating the ticket. 🙈 It is indeed simply Firefox which doesn't support it. https://bugzilla.mozilla.org/show_bug.cgi?id=1422891

But a nice error message in such situations would be welcome.

schiessle avatar Aug 13 '25 15:08 schiessle

I mean, mkv are here since ages. It's 2025 and we're still struggling to decode many video formats in Browsers, it's frustrating 👍 I totally get that you assumed it should work out of the box 😅

skjnldsv avatar Aug 13 '25 20:08 skjnldsv