THEOplayer Web SDK
    Preparing search index...

    Interface ContentProtectionErrorEvent

    Fired when an error related to content protection occurs.

    interface ContentProtectionErrorEvent {
        date: Date;
        error: string;
        errorObject: ContentProtectionError;
        licenseAcquisitionMessage?: string;
        licenseAcquisitionURL?: string;
        status?: number;
        statusText?: string;
        systemCode?: number;
        type: "contentprotectionerror";
    }

    Hierarchy (View Summary)

    • Event<"contentprotectionerror">
      • ContentProtectionErrorEvent
    Index

    Properties

    date: Date

    The creation date of the event.

    error: string

    The error that occurred.

    use errorObject.message instead

    An error object containing additional information about the error.

    licenseAcquisitionMessage?: string

    use errorObject.response instead

    licenseAcquisitionURL?: string

    use errorObject.url instead

    status?: number

    use errorObject.status instead

    statusText?: string

    use errorObject.statusText instead

    systemCode?: number

    use errorObject.systemCode instead

    type: "contentprotectionerror"

    The type of the event.