From 13eab9eda25cba08f09070e329f29a4f540b3f9b Mon Sep 17 00:00:00 2001 From: dnoneill Date: Wed, 22 May 2024 17:43:54 -0400 Subject: [PATCH] add uv info, scaffold other viewers --- dhsi/SUMMARY.md | 22 ++-- dhsi/day-two/annona.md | 0 dhsi/day-two/clover.md | 0 dhsi/day-two/navplace.md | 0 dhsi/day-two/ramp.md | 0 dhsi/day-two/uv.md | 228 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 236 insertions(+), 14 deletions(-) create mode 100644 dhsi/day-two/annona.md create mode 100644 dhsi/day-two/clover.md create mode 100644 dhsi/day-two/navplace.md create mode 100644 dhsi/day-two/ramp.md create mode 100644 dhsi/day-two/uv.md diff --git a/dhsi/SUMMARY.md b/dhsi/SUMMARY.md index 91f0bb1e..a2713c5d 100644 --- a/dhsi/SUMMARY.md +++ b/dhsi/SUMMARY.md @@ -50,22 +50,16 @@ ## Tuesday Session 6: 2:30pm-3:45pm 1. [Using/Embedding/Configuring IIIF Viewers](day-two/configuring-viewers.md) - 1. [Mirador](day-two/configuring-viewers.md#mirador) - 2. [Universal Viewer](day-two/configuring-viewers.md#universal-viewer) -2. [Work Period](day-two/configuring-viewers.md#work-period) + 1. [Mirador]((day-two/configuring-viewers.md#mirador)) + 2. [Universal Viewer](day-two/uv.md) + 3. [Annona](day-two/annona.md) + 4. [Clover](day-two/clover.md) + 5. [Navplace viewer](day-two/navplace.md) + 6. [Ramp](day-two/ramp.md) +2. [Work Period]((day-two/configuring-viewers.md#work-period)) -## Thursday Session ??: 1:00pm-2:15pm - -1. [Search API](day-four/iiif-search-api.md) - - ---- - -TODO: delete below - ---- - + - [Overview](README.md) - [Guest Presentations](GuestPresentations.md) diff --git a/dhsi/day-two/annona.md b/dhsi/day-two/annona.md new file mode 100644 index 00000000..e69de29b diff --git a/dhsi/day-two/clover.md b/dhsi/day-two/clover.md new file mode 100644 index 00000000..e69de29b diff --git a/dhsi/day-two/navplace.md b/dhsi/day-two/navplace.md new file mode 100644 index 00000000..e69de29b diff --git a/dhsi/day-two/ramp.md b/dhsi/day-two/ramp.md new file mode 100644 index 00000000..e69de29b diff --git a/dhsi/day-two/uv.md b/dhsi/day-two/uv.md new file mode 100644 index 00000000..75c626c2 --- /dev/null +++ b/dhsi/day-two/uv.md @@ -0,0 +1,228 @@ +# Universal Viewer +Documentation on more complex embeddings can be found on the [UV wiki.](https://github.com/UniversalViewer/universalviewer/wiki/UV-Examples) + +## Creating a Universal Viewer page +1. Create and open in VSCode a file named `uv.html`. +2. Copy the code below into the file +``` + + + + + + + Universal Viewer + + + + + +
+ + + + +``` + +3. Open the file your browser. `open uv.html` + +## Embedding Universal Viewer +1. Create and open in VSCode a file named `uv-embed.html` +2. Copy the code into your browser +``` + + + + + + + Static Template + + + + + + + + + + + + +``` +3. Open the file in your browser. `open uv-embed.html` + +## Configuring UV +1. Create a file called uv-config.html +2. Copy code below into file +``` + + + + + + + Universal Viewer + + + + + +
+ + + + +``` +3. Open file. `open uv-config.html` +4. Update one of your options to something in this file: https://codesandbox.io/p/sandbox/vibrant-agnesi-7kh4s?file=%2Fuv-config.json +5. Reload the file + +## Configuring UV to use browser parameters (optional) +Perhaps you want to have UV load a manifest based on a parameter you pass into the url (uv.html?manifest='urlofmanifest'). This can be set up in UV. + +``` + + + + + + + Universal Viewer + + + + + +
+ + + + + +``` +