nextcloud / nextcloud/viewer

No video playback after update to Nextcloud 28.0.12

Open
#2,618 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: player
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

After the update to Nextcloud 28.0.12 the video playback of .mp4 files (and I guess all other video files) isn't possible anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Try to open any video saved in Nextcloud
  2. Video isn't loaded. On public shares the video player isn't showed completely.

Desktop (please complete the following information):

  • Browser: tested with Chrome and Firefox in the newest version

Browser log

15:50:28.616 File info for / fetched 
Object { filename: "/", basename: "", lastmod: "Tue, 05 Nov 2024 15:04:47 GMT", size: 1029491768, type: "file", etag: "a9054da83457de2929d3120647739ab1", mime: "video/mp4", getcontentlength: 1029491768, getcontenttype: "video/mp4", getetag: '"a9054da83457de2929d3120647739ab1"', … }
Viewer.vue:637

15:50:28.806 GET
https://cloud.example.com/apps/viewer/js/viewer-plyr.js?v=71222128a0106c837… 
NS_ERROR_CORRUPTED_CONTENT

15:50:28.811 Laden fehlgeschlagen für das <script> mit der Quelle "https://cloud.example.com/apps/viewer/js/viewer-plyr.js?v=71222128a0106c837… ". calendar.scss:1

Additional context
Nextcloud is installed on a subpath and therefore the url of the cloud is "https://cloud.example.com/nextcloud/" - the file viewer-plyr.js is searched directly on https://cloud.example.com and seams to ignore the overwrite.cli.url setting (?).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the viewer-plyr.js URL assembled by Viewer.vue and reproduce playback with Nextcloud installed at /nextcloud/. Check how the viewer handles overwrite.cli.url, including public shares, then verify that .mp4 playback loads and the public-share player is displayed correctly from the subpath.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.