/** * Compatibility shim. * * The HTML5 → Rust reporting functions moved to `adapters/rustReportHost.ts` as * part of the PlayerAdapter refactor. Existing callers import the reporter as * `import * as html5Adapter from "$lib/player/html5Adapter"`; this shim keeps * that working while the migration proceeds. New adapter code should depend on * the `AdapterHost` interface (see `adapters/types.ts`) instead. */ export { reportState, reportPosition, reportMediaLoaded, resetReporting, } from "./adapters/rustReportHost"; /** @deprecated states are defined on the AdapterHost interface now. */ export type Html5PlayerState = "playing" | "paused" | "loading" | "stopped" | "idle";