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.
Images display fine in Universal Viewer but whenever I load a PDF I get the following error:
Unhandled promise rejection SyntaxError: "JSON.parse: unexpected character at line 1 column 1 of the JSON data"
parse http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/uv.js:4
load http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/uv.js:3
g http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
F http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
k http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
offline.js:17:10369
b http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
E http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
G http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
exports http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:16
<anonymous> http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
s http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
t http://146.163.157.78/omeka/plugins/UniversalViewer/views/shared/javascripts/uv/lib/offline.js:17
the exif, gd, and imagemagick php plugins are all installed:
Images display fine in Universal Viewer but whenever I load a PDF I get the following error:
the exif, gd, and imagemagick php plugins are all installed:
Error seems to be in UV javascript but could be a configuration error?
Output of composer install: