UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

12 lines (11 loc) 581 B
import type { EngineAdapter, EngineFormat } from './types'; /** * The one place format detection turns into an actual engine — `core/media.ts` * and `core/clarity.ts` never branch on format themselves. A format with no * registry entry (native, or a not-yet-wired engine) falls back to `undefined`, * which `loadVideoSource` treats the same as an unsupported HLS build always * did: bind `video.src` directly. */ export declare function createEngineAdapter(format: EngineFormat): EngineAdapter | undefined; export * from './types'; export { detectFormat } from './detect';