Vinyl
    Preparing search index...

    Class StandardCommonMediaKeys

    CommonMediaKeys for unprefixed EME implementations.

    Implements

    Index

    Constructors

    Properties

    keySystem: DrmKeySystem

    Methods

    • Sets the media keys on the given element.

      Parameters

      • element: HTMLMediaElement

      Returns Promise<void>

    • Sets the server certificate on the media keys.

      A Promise that resolves to a boolean. If the Key System implementation represented by this object's content decryption module's implementation value does not support server certificates, return a promise resolved with false.

      Parameters

      • certificate: BufferSource

        The server certificate data.

      Returns Promise<boolean>