pub fn convert_file_src(path: &str) -> Option<String>Expand description
Convert a local file path to an asset-protocol URL the <video>
element can load. Returns None when running outside Tauri (the
standalone trunk serve browser-only path) — callers can render a
placeholder in that case.