Video Link Share Page not Fitting to Screen

When a user shares a video (mp4 for me) by link then visits the link and plays the video in full screen the video does not adjust to the proper screen size.

Steps to reproduce

  1. Upload a video (for me it was a 1920x800 video, the Han Solo movie).
  2. Share the link and visit it.
  3. Play the video in full screen.
  4. See how it does not fit to screen.

Expected behaviour

Video fits to screen.

Actual behaviour

It does not fit to screen.


Also, video does not play on Chrome, but that’s not the problem here (it does work fine in the logged in view or in Firefox).
Console errors:

The video could not be loaded, either because the server or network failed or because the format is not supported.
Failed to load because no supported source was found.

Server configuration

Operating system: Ubuntu 18.04

Web server: Apache2

Database: MySQL

PHP version: 7.2

Nextcloud version: 14.0.0

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh installed for 14.0

Where did you install Nextcloud from:
Maybe a tar?

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list ``` Enabled: - accessibility: 1.0.1 - activity: 2.7.0 - admin_audit: 1.4.0 - apporder: 0.5.0 - camerarawpreviews: 0.5.6 - cloud_federation_api: 0.0.1 - comments: 1.4.0 - contacts: 2.1.6 - data_request: 1.1.0 - dav: 1.6.0 - federatedfilesharing: 1.4.0 - federation: 1.4.0 - files: 1.9.0 - files_downloadactivity: 1.3.0 - files_external: 1.5.0 - files_linkeditor: 1.0.7 - files_markdown: 2.0.4 - files_pdfviewer: 1.3.2 - files_rightclick: 0.8.4 - files_sharing: 1.6.2 - files_texteditor: 2.6.0 - files_trashbin: 1.4.1 - files_versions: 1.7.1 - files_videoplayer: 1.3.0 - firstrunwizard: 2.3.0 - flowupload: 0.0.8 - gallery: 18.1.0 - gpxpod: 2.3.1 - group_everyone: 0.1.0 - impersonate: 1.1.0 - logreader: 2.0.0 - lookup_server_connector: 1.2.0 - mail: 0.10.0 - nextcloud_announcements: 1.3.0 - notes: 2.4.2 - notifications: 2.2.1 - oauth2: 1.2.1 - ocsms: 1.13.1 - password_policy: 1.4.0 - phonetrack: 0.3.1 - previewgenerator: 1.1.0 - provisioning_api: 1.4.0 - serverinfo: 1.4.0 - sharebymail: 1.4.0 - sharerenamer: 2.1.0 - socialsharing_email: 1.0.4 - spreed: 4.0.0 - support: 1.0.0 - survey_client: 1.2.0 - systemtags: 1.4.0 - theming: 1.5.0 - twofactor_backupcodes: 1.3.1 - updatenotification: 1.4.1 - workflowengine: 1.4.0 Disabled: - encryption - user_external - user_ldap ```

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "s[DATA EXPUNGED]",
            "[DATA EXPUNGED]",
            "[DATA EXPUNGED]",
            "[DATA EXPUNGED]"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "[DATA EXPUNGED]",
        "dbtype": "mysql",
        "version": "14.0.0.19",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "force_language": "en",
        "allow_user_to_change_display_name": true,
        "logtimezone": "America\/[DATA EXPUNGED]",
        "auth.bruteforce.protection.enabled": false,
        "theme": "",
        "loglevel": 2,
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PDF",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\StarOffice",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Font"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one:
Local on secondary HD.

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Firefox

Operating system: Win 10

I also posted on GitHub:
https://github.com/nextcloud/server/issues/11379

i have exactly same issue, share link by NC visit by android firfox. a) full screen can’t fit all video content b) small window can fit all video;
how to fix this? thanks a lot —>7998298@qq.com