Returns the path to the user's video directory.
xdg-user-dirs
XDG_VIDEOS_DIR
$HOME/Movies
{FOLDERID_Videos}
import { videoDir } from '@tauri-apps/api/path';const videoDirPath = await videoDir(); Copy
import { videoDir } from '@tauri-apps/api/path';const videoDirPath = await videoDir();
1.0.0
Returns the path to the user's video directory.
Platform-specific
xdg-user-dirs
'XDG_VIDEOS_DIR
.$HOME/Movies
.{FOLDERID_Videos}
.