static uninstall() {
    // Alias
    const PatchedMediaKeysApple = shaka.polyfill.PatchedMediaKeysApple;

    if (window.shakaMediaKeysPolyfill != PatchedMediaKeysApple.apiName_) {
      // Not installed.
      return;
    }

    if (!PatchedMediaKeysApple.enableUninstall) {
      return;
    }

    shaka.log.info('Un-installing Apple-prefixed EME');

    PatchedMediaKeysApple.enableUninstall = false;
    Object.defineProperty(
        // eslint-disable-next-line no-restricted-syntax
        HTMLMediaElement.prototype,
        'mediaKeys',
        PatchedMediaKeysApple.originalHTMLMediaElementPrototypeMediaKeys,
    );
    // eslint-disable-next-line no-restricted-syntax
    HTMLMediaElement.prototype.setMediaKeys =
        PatchedMediaKeysApple.originalHTMLMediaElementPrototypeSetMediaKeys;
    window.MediaKeys = PatchedMediaKeysApple.originalWindowMediaKeys;
    window.MediaKeySystemAccess =
        PatchedMediaKeysApple.originalWindowMediaKeySystemAccess;
    navigator.requestMediaKeySystemAccess =
        PatchedMediaKeysApple.originalNavigatorRequestMediaKeySystemAccess;

    PatchedMediaKeysApple.originalWindowMediaKeys = null;
    PatchedMediaKeysApple.originalWindowMediaKeySystemAccess = null;
    PatchedMediaKeysApple.originalHTMLMediaElementPrototypeSetMediaKeys = null;
    PatchedMediaKeysApple.originalNavigatorRequestMediaKeySystemAccess = null;
    PatchedMediaKeysApple.originalHTMLMediaElementPrototypeMediaKeys = null;

    window.shakaMediaKeysPolyfill = '';

    shaka.util.StreamUtils.clearDecodingConfigCache();
    shaka.drm.DrmUtils.clearMediaKeySystemAccessMap();
  }
Uninstalls the polyfill if needed and enabled.
@export