nextcloud / viewer

🖼 Simple file viewer with slideshow for media
GNU Affero General Public License v3.0
92 stars 53 forks source link

[Bug]: Fullscreen bug on video playback in Safari with shared links #2372

Open Chicoray opened 1 year ago

Chicoray commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

Hello,

Fullscreen is not working fot shared video links in Nextcloud 25.0.3 in safari browser on desktop or iphone. The picture is not resizing to take the whole screen. Working fine in Firefox though.

It was working in Nextcloud 24.

Fullscreen DOES work when playing a video from the files app (url = myserver.com/app/files/?dir=xxxxxx) but DOESNOT work when playing same video from a shared link (url= myserver.com/s/xxxxx). There's been a fix in version 25.0.3 that didn't change behaviour of shared links for me.

Thanks all for great work !

Steps to reproduce

  1. create a share link for a video
  2. paste link in safari browser on desktop or iphone
  3. hit the fullscreen button and the video dosn't play fullscreen

Expected behavior

the video should take the whole screen

Installation method

Community Docker image

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "defaultapp": "apporder",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.nuage.pulp-films.fr"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.3.2",
        "overwrite.cli.url": "http:\/\/nextcloud.nuage.pulp-films.fr",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "maintenance": false,
        "loglevel": 0,
        "app_install_overwrite": [
            "richdocuments",
            "richdocumentscode"
        ],
        "theme": "",
        "default_phone_region": "FR",
        "default_language": "fr",
        "default_locale": "fr_FR"
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - bruteforcesettings: 2.5.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_external: 1.17.0
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - geoblocker: 0.5.7
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - ransomware_protection: 1.14.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - side_menu: 3.5.1
  - support: 1.8.0
  - survey_client: 1.13.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 2.0.1
  - theming_customcss: 1.12.0
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - apporder: 0.15.0
  - breezedark: 24.0.2
  - encryption
  - extract: 1.3.5
  - onlyoffice: 7.6.8
  - richdocuments: 7.1.0
  - richdocumentscode: 22.5.802
  - suspicious_login: 4.2.0
  - talk_simple_poll: 1.3.1
  - twofactor_totp
  - user_external: 3.1.0
  - user_ldap
  - weather_status: 1.0.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

No response

Chicoray commented 1 year ago

Hi,

Issue is still present in NC 26. Is there gonna be a fix for that ? Fullscreen was working with safari/iOs in NC24...

Cheers!

Chicoray commented 1 year ago

Hello,

Fullscreen video playback is still broken on iOS (Safari, Firefox..) and safari on macOS in version 27 It's working in Chrome MacOS and Firefox MacOS

It was working in Nextcloud 24

Makes it totally useless for me.

Am I the only one trying to use the fullscreen feature ?

Thanks for your hardwork !

Soulplayer commented 1 year ago

I’m having the same issue…