import { convertFileSrc } from '@tauri-apps/api/core'; import React from 'react'; import type { HttpResponse } from '../../lib/models'; interface Props { response: HttpResponse; } export function VideoViewer({ response }: Props) { if (response.bodyPath === null) { return