Plugin for Omeka that adds the IIIF specifications in order to act like an IIPImage server, and the UniversalViewer, a unified online player for any file. It can display books, images, maps, audio, movies, pdf, 3D views, and anything else as long as the appropriate extensions are installed.
Commit 47f611b changed line 285 to read "$mediaType = $media->mediaType();". $media is not defined, which was causing a fatal error:
PHP Notice: Undefined variable: media in /var/www/html/example-site/plugins/UniversalViewer/views/helpers/IiifManifest.php on line 285
PHP Fatal error: Call to a member function mediaType() on a non-object in /var/www/html/example-site/plugins/UniversalViewer/views/helpers/IiifManifest.php on line 285
Changing line 285 to "$mediaType = $file->mime_type;", as $mediaType is defined elsewhere in the code, fixed the error.
Commit 47f611b changed line 285 to read "$mediaType = $media->mediaType();". $media is not defined, which was causing a fatal error:
PHP Notice: Undefined variable: media in /var/www/html/example-site/plugins/UniversalViewer/views/helpers/IiifManifest.php on line 285 PHP Fatal error: Call to a member function mediaType() on a non-object in /var/www/html/example-site/plugins/UniversalViewer/views/helpers/IiifManifest.php on line 285
Changing line 285 to "$mediaType = $file->mime_type;", as $mediaType is defined elsewhere in the code, fixed the error.