-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
platform: Androidstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug
Description
Describe the bug
ERR_ABORTED 500 (Internal Server Error) when trying to access local video on android, the video file is in the app's external files dir /storage/emulated/0/Android/data/(myapp)/
csp:
Reproduction
const documentDirectory = await documentDir() videoUrl.value = convertFileSrc(${documentDirectory}/demo1.mp4)
<video controls class="video-element" v-if="videoUrl"> <source :src="videoUrl" type="video/mp4" /> </video>
Expected behavior
load video normally
Full tauri info output
[✔] Environment
- OS: Windows 10.0.26220 x86_64 (X64)
✔ WebView2: 142.0.3595.53
✔ MSVC: Visual Studio Build Tools 2022
✔ rustc: 1.88.0 (6b00bc388 2025-06-23)
✔ cargo: 1.88.0 (873a06493 2025-05-10)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.11.0
- pnpm: 10.13.1
- yarn: 4.5.2
- npm: 10.9.0
[-] Packages
- tauri 🦀: 2.8.5, (outdated, latest: 2.9.2)
- tauri-build 🦀: 2.4.1, (outdated, latest: 2.5.1)
- wry 🦀: 0.53.4, (outdated, latest: 0.53.5)
- tao 🦀: 0.34.3, (outdated, latest: 0.34.5)
- @tauri-apps/api : 2.8.0 (outdated, latest: 2.9.0)
- @tauri-apps/cli : 2.8.4 (outdated, latest: 2.9.3)
[-] Plugins
- tauri-plugin-dialog 🦀: 2.4.0, (outdated, latest: 2.4.2)
- @tauri-apps/plugin-dialog : 2.4.2
- tauri-plugin-opener 🦀: 2.5.0, (outdated, latest: 2.5.2)
- @tauri-apps/plugin-opener : 2.5.0 (outdated, latest: 2.5.2)
- tauri-plugin-fs 🦀: 2.4.2, (outdated, latest: 2.4.4)
- @tauri-apps/plugin-fs : 2.4.4
[-] App
- build-type: bundle
- CSP: default-src * 'unsafe-inline' 'unsafe-eval' data: blob:; img-src * data: blob:; media-src * blob:; style-src * 'unsafe-inline'; font-src * data:;
- frontendDist: ../dist
- devUrl: http://localhost:5175/
- framework: Vue.js
- bundler: Vite
Stack trace
Additional context
No response
Metadata
Metadata
Assignees
Labels
platform: Androidstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug