UniversalViewer / universalviewer

A community-developed open source project on a mission to help you share your πŸ“šπŸ“œπŸ“°πŸ“½οΈπŸ“»πŸ—Ώ with the 🌎
http://universalviewer.io
Other
490 stars 184 forks source link

examples - two-up.html - does not work anymore #666

Closed hrvoj3e closed 5 years ago

hrvoj3e commented 5 years ago

Maybe api.bl.uk changed this on their end.

Url https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100054581994.0x000001/manifest.json opens OK but https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100054581994.0x000001/manifest.json&c=0&m=0&s=0&cv=0&config=two-up-config.json&locales=en-GB:English (GB),cy-GB:Cymraeg&xywh=-1383,-197,5333,3936&r=0 is redirected.

This does not work

<iframe id="uv1" src="https://universalviewer.io/examples/uv/uv.html#?manifest=https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100054581994.0x000001/manifest.json&c=0&m=0&s=0&cv=0&config=two-up-config.json&locales=en-GB:English (GB),cy-GB:Cymraeg&xywh=-1383,-197,5333,3936&r=0" width="560" height="420" allowfullscreen frameborder="0"></iframe>

<iframe id="uv2" src="https://universalviewer.io/examples/uv/uv.html#?manifest=https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100054605479.0x000001/manifest.json&c=0&m=0&s=0&cv=0&config=two-up-config.json&locales=en-GB:English (GB),cy-GB:Cymraeg&xywh=-1383,-197,5333,3936&r=0" width="560" height="420" allowfullscreen frameborder="0"></iframe>

This works

<iframe id="uv1" src="https://universalviewer.io/examples/uv/uv.html#?manifest=https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100054581994.0x000001/manifest.json" width="560" height="420" allowfullscreen frameborder="0"></iframe>

<iframe id="uv2" src="https://universalviewer.io/examples/uv/uv.html#?manifest=https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100054605479.0x000001/manifest.json" width="560" height="420" allowfullscreen frameborder="0"></iframe>
irv commented 5 years ago

Hi,

Unrelated to the BL; those parameters get interpreted by the host page. the issue is that https://universalviewer.io/examples/uv/two-up-config.json gets a 404

In your working example, the UV is using it's default config