No video playback after update to Nextcloud 28.0.12
Nobody has claimed this yet.
- 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:
- Try to open any video saved in Nextcloud
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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