From 95f0e719c7c825cad1bfa751c1a57d84ceed272f Mon Sep 17 00:00:00 2001 From: "Ben W. Brumfield" Date: Tue, 24 Oct 2023 09:32:22 -0500 Subject: [PATCH] Don't load the media element extension for #944 --- src/content-handlers/iiif/IIIFContentHandler.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/content-handlers/iiif/IIIFContentHandler.ts b/src/content-handlers/iiif/IIIFContentHandler.ts index cad538ba5..4f1ffb452 100644 --- a/src/content-handlers/iiif/IIIFContentHandler.ts +++ b/src/content-handlers/iiif/IIIFContentHandler.ts @@ -364,14 +364,14 @@ export default class IIIFContentHandler extends BaseContentHandler } // if using uv-av-extension and there is no structure, fall back to uv-mediaelement-extension - const hasRanges: boolean = helper.getRanges().length > 0; - - if (extension!.type === Extension.AV && !hasRanges) { - extension = await that._getExtensionByType( - Extension.MEDIAELEMENT, - format - ); - } +// const hasRanges: boolean = helper.getRanges().length > 0; + +// if (extension!.type === Extension.AV && !hasRanges) { +// extension = await that._getExtensionByType( +// Extension.MEDIAELEMENT, +// format +// ); +// } // if there still isn't a matching extension, use the default extension. if (!extension) {