Function registerVideoProviderFactory

  • Register a video provider factory for a given provider ID.

    Use this to add third-party or custom video providers at runtime. Built-in providers (runway, replicate, fal) are pre-registered.

    Parameters

    • providerId: string

      Unique identifier for the provider (lowercased for matching).

    • factory: VideoProviderFactory

      Factory function that creates a new uninitialised provider instance.

    Returns void