text icon indicating copy to clipboard operation
text copied to clipboard

Failed to load attach video

Open Thatoo opened this issue 11 months ago • 4 comments

Describe the bug When opening a page with attach videos in view mode all videos show as 'failed to load attachment'

To Reproduce Steps to reproduce the behavior:

  1. Go to collective
  2. Open page with attachment
  3. view in non-edit mode

Expected behavior Show video the same way pictures are displayed

Screenshots

Image

Server details:

  • Collectives app version: 2.15.2
  • Nextcloud version: 30.0.4
  • PHP Version: 8.3.15
  • Database: MariaDB 10.11.6

Client details:

  • OS: NixOS
  • Browser: Firefox
  • Browser version: 134.0.1
  • Device: desktop

Thatoo avatar Jan 22 '25 18:01 Thatoo

I guess it is related to the same issue I open in Collectives : https://github.com/nextcloud/collectives/issues/1645

Thatoo avatar Jan 22 '25 18:01 Thatoo

Of course the folder .attachments.36071 does exist and the file AppNextcloudUtilisation.mp4 exists in it and can be loaded, the video works.

Thatoo avatar Jan 22 '25 18:01 Thatoo

Thanks, that would of course make a lot of sense to have an inline viewer. I'm wondering if we can just make use of the viewer app for that to have the same logic for displaying any supported filetype.

juliusknorr avatar Jan 29 '25 06:01 juliusknorr

@Thatoo @juliusknorr I think this PR will be a good workaround for this problem.

https://github.com/nextcloud/server/pull/52478

AIlkiv avatar Apr 26 '25 13:04 AIlkiv