Skip to content

[bug] Video player element's fullscreen not working in Tauri, working fine in browsers #13642

@zespook

Description

@zespook

Describe the bug

The video player element's native fullscreen function and F11 fullscreen within Tauri don't work, and the devtools console shows no error.

Trying it with the following tauri.conf.json does work, but without heavily implementing an additional fullscreen button, there doesn't seem to be a workaround:

...
  "app": {
    "windows": [
      {
        "maximized": true,
        "resizable": true,
        "fullscreen": true,
        "title": "zello",
        "width": 1600,
        "height": 900,
        "additionalBrowserArgs": "--force-color-profile=srgb"
      }
    ],
    "security": {
      "csp": null
    }
  },
...

On the other hand, it's working fine in web browser view. It was confirmed to be implemented in #13558, but I can't seem to get it working.

Tauri version: 2.5.1
Video player: Jellyfin

Image

> zello@0.1.0 tauri
> tauri info


[✔] Environment
    - OS: Windows 10.0.26100 x86_64 (X64)
    ✔ WebView2: 131.0.2903.86
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
    ✔ cargo: 1.87.0 (99624be96 2025-05-06)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 23.4.0
    - npm: 10.9.2

[-] Packages
    - tauri 🦀: 2.5.1
    - tauri-build 🦀: 2.2.0
    - wry 🦀: 0.51.2
    - tao 🦀: 0.33.0
    - @tauri-apps/api : 2.5.0
    - @tauri-apps/cli : 2.5.0

[-] Plugins
    - tauri-plugin-opener 🦀: 2.3.0
    - @tauri-apps/plugin-opener : 2.3.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions