You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: value.toLowerCase is not a function
at ViewingHint.StringValue (bundle.min.js:3)
at new ViewingHint (bundle.min.js:3)
at Manifest.getViewingHint (bundle.min.js:4)
at Manifest.isPagingEnabled (bundle.min.js:4)
at Helper.isPagingEnabled (bundle.min.js:10)
at Helper.isPagingAvailable (bundle.min.js:10)
at t.pagingToggleIsVisible (app.js:7)
at t.updatePagingToggle (app.js:7)
at t.create (app.js:7)
at t.e (app.js:1)
3bundle.min.js:3 Uncaught TypeError: value.toLowerCase is not a function
at ViewingHint.StringValue (bundle.min.js:3)
at new ViewingHint (bundle.min.js:3)
at Manifest.getViewingHint (bundle.min.js:4)
at Manifest.isPagingEnabled (bundle.min.js:4)
at Helper.isPagingEnabled (bundle.min.js:10)
at Helper.isPagingAvailable (bundle.min.js:10)
at t.pagingToggleIsVisible (app.js:7)
at t.resize (app.js:7)
at Object.<anonymous> (app.js:1)
at Object.dispatch (jquery.min.js:5)
The text was updated successfully, but these errors were encountered:
All issues will be triaged for further investigation or closure by the 28 September 2023. If your issue is still relevant and would like for it be investigated further please comment by 14 September 2023.
I'm still seeing the failing case manifest causing the UV to fail to load, so I think this is still an active issue... though whether viewingHint should be multi-valued (or how to deal with multiple values if they exist) may require more discussion.
Just commenting to reiterate that this is still an issue. Per the IIIF spec, for the viewingHint/behavior properties "The value must be an array of strings." https://iiif.io/api/presentation/3.0/#behavior.
UV version:
I'm submitting a:
Current behavior:
when using a list to set up the viewingHint json prop in a manifest, this way:
UV fails to display images
However, if I set viewingHint as a string, this way:
"viewingHint":"continuous"
Everything works fine
Expected behavior:
Regarding this point, the specs (https://iiif.io/api/presentation/2.1/#technical-properties) explicity says: _
_
Therefore I think that UV should support a List of string in this case
Steps to reproduce:
working case : http://universalviewer.io/uv.html?manifest=http://eroux.fr/testmarc.json#?c=0&m=0&s=0&cv=0&xywh=-435%2C18721%2C1583%2C572
failing case: http://universalviewer.io/uv.html?manifest=http://eroux.fr/testmarcfail.json
Other information:
Console msg:
The text was updated successfully, but these errors were encountered: