How to use the @iiif/vocabulary.MediaType.AUDIO_MP4 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
this._extensionRegistry[RenderingFormat.PDF] = {
            load: this._extensions[Extension.PDF]
        };

        // presentation 3

        this._extensionRegistry[MediaType.JPG] = {
            load: this._extensions[Extension.OSD]
        };

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

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

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

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

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

        this._extensionRegistry[MediaType.MP3] = {