videoDir
videoDir():
Promise<string>
Defined in: path.ts:582
Returns the path to the user’s video directory.
- Linux: Resolves to
xdg-user-dirs’XDG_VIDEOS_DIR. - macOS: Resolves to
$HOME/Movies. - Windows: Resolves to
{FOLDERID_Videos}.
Promise<string>
import { videoDir } from '@tauri-apps/api/path';const videoDirPath = await videoDir();1.0.0
© 2025 Tauri Contributors. CC-BY / MIT