Better feedback for unsupported formats loading errors
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 119
- Forks
- 72
- Avg merge
- 18h 42m
- Merged PRs (30d)
- 24
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Upload any HEVC H265 encoded vidéo to a Nextcloud instance.
Expected behaviour
Be able to read video using nextcloud instance.
Actual behaviour
Video is well read by standard media players (VLC, etc...) but when uploaded on a Nextcloud instance, nothing is displayed unless black screen and audio.
Check Browser log down, on that bug report.
Server configuration
Operating system: CentOS 8
Web server: Apache 2.4
Database: MariaDB
PHP version: PHP 7.4
Nextcloud version: NC18.0.6
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
- accessibility: 1.4.0
- activity: 2.11.0
- cloud_federation_api: 1.1.0
- comments: 1.8.0
- dav: 1.14.0
- federatedfilesharing: 1.8.0
- federation: 1.8.0
- files: 1.13.1
- files_pdfviewer: 1.7.0
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_trashbin: 1.8.0
- files_versions: 1.11.0
- files_videoplayer: 1.7.0
- firstrunwizard: 2.7.0
- groupfolders: 6.0.6
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- maps: 0.1.6
- metadata: 0.12.0
- nextcloud_announcements: 1.7.0
- notifications: 2.6.0
- oauth2: 1.6.0
- password_policy: 1.8.0
- photos: 1.0.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- recommendations: 0.6.0
- serverinfo: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- support: 1.1.1
- survey_client: 1.6.0
- systemtags: 1.8.0
- text: 2.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- admin_audit
- encryption
- files_external
- user_ldap
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xxx"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "18.0.6.0",
"overwrite.cli.url": "https:\/\/xxxxxx",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_smtpsecure": "tls",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 0,
"dbindex": 0
},
"theme": "",
"loglevel": 2
}
}
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Latest Windows Firefox, latest Windows Edge, and also tested on Android Firefox
Logs
Web server error log
Web server error log
No logs generated when playing that video.
Nextcloud log (data/nextcloud.log)
Nextcloud log
No logs generated when playing that video.
Browser log
Browser log
JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:551
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:66:15
The escapeHTML library is deprecated! It will be removed in nextcloud 19. 2 globals.js:66:15
Uncaught (in promise) TypeError: OCA.Files.App is undefined
29 client.js:125
o Webpack
client.js:125:13
MouseEvent.mozPressure is obsolete. Please use instead PointerEvent.pressure. video.es.js:1649

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
Reproduce the HEVC/H.265 upload in the viewer and inspect the browser log, especially client.js:125 and the reported video.es.js error. Trace how the files_videoplayer app handles an unsupported format; done means the viewer gives clear feedback instead of showing a black screen with audio only.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100