Function create

  • Creates a MediaPlayer instance.

    Parameters

    Returns MediaPlayer

    Throws

    Throws an Error if WebAssembly is not supported by the browser. Check isPlayerSupported to determine support beforehand, or wrap in a try/catch block to prevent uncaught exceptions.

Generated using TypeDoc