microscope-js - v0.0.0
    Preparing search index...

    Function renderNativeMedia

    • Shared body for native-media renderers (<video>, <audio>). Keeps the per-format renderer packages to a few lines and avoids duplicating URL/teardown plumbing across them.

      Parameters

      • tag: "audio" | "video"
      • source: NormalizedSource
      • container: HTMLElement
      • opts: { autoplay?: boolean; loop?: boolean; muted?: boolean } = {}

      Returns { destroy(): void }