How to use the @iiif/vocabulary.MediaType.MPEG_DASH function in @iiif/vocabulary

To help you get started, we’ve selected a few @iiif/vocabulary examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github UniversalViewer / universalviewer / src / Viewer.ts View on Github external
load: this._extensions[Extension.AV]
        };

        this._extensionRegistry[MediaType.THREEJS] = {
            load: this._extensions[Extension.VIRTEX]
        };

        this._extensionRegistry[MediaType.MP3] = {
            load: this._extensions[Extension.AV]
        };

        this._extensionRegistry[MediaType.M3U8] = {
            load: this._extensions[Extension.AV]
        };

        this._extensionRegistry[MediaType.MPEG_DASH] = {
            load: this._extensions[Extension.AV]
        };

        this._extensionRegistry["av"] = {
            load: this._extensions[Extension.AV]
        };

        this._extensionRegistry["default"] = {
            load: this._extensions[Extension.DEFAULT]
        };

        this.set(this.options.data);

        return true;
    }