Skip to content

Commit

Permalink
Merge pull request #446 from IIIF/Aviary_IIIF_Player_cookbook_recipes
Browse files Browse the repository at this point in the history
Aviary_IIIF_Player_cookbook_recipes
  • Loading branch information
glenrobson authored May 29, 2024
2 parents 152071b + 2a16ff7 commit 820a604
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 7 deletions.
5 changes: 5 additions & 0 deletions _includes/viewer_link.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
https://uv-v3.netlify.app/#?c=&m=&s=&cv=&manifest={{manifest_url |strip}}
{% endcapture %}
{% assign default_text="View in Universal Viewer" %}
{% elsif include.type == 'Aviary' %}
{% capture viewer_url %}
https://iiif.aviaryplatform.com/player?manifest={{manifest_url |strip}}
{% endcapture %}
{% assign default_text="View in Aviary" %}
{% elsif include.type == 'Mirador' %}
{% capture viewer_url %}
https://projectmirador.org/embed/?iiif-content={{manifest_url |strip}}
Expand Down
3 changes: 2 additions & 1 deletion recipe/0002-mvm-audio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ viewers:
- UV
- Clover
- Ramp
- Aviary
topic:
- basic
- AV
Expand All @@ -29,7 +30,7 @@ The implementation is identical to the [image example][0001], except that the co

This example shows a Manifest with a single Canvas that lasts for 1985.024 seconds. It has a single audio file (audio-sample.mp4) which is associated with it. The mp4 also has a duration of 1985.024 seconds.

{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp, Aviary" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0003-mvm-video/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ viewers:
- UV
- Clover
- Ramp
- Aviary
topic:
- basic
- AV
Expand All @@ -29,7 +30,7 @@ The implementation is identical to the [image example][0001], except that the co

This example shows a Manifest with a single Canvas that lasts for 572 seconds, or just under 10 minutes. It has a single video file (lunchroom_manners_1024kb.mp4) which is associated with it. The mp4 also has a duration of 572 seconds.

{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Clover, Ramp, Aviary" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" %}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0014-accompanyingcanvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tags: [audio,image]
summary: "Provide the user with something to look at before they choose to start interacting with the main content, and/or while they wait for it to load/buffer, and/or while interacting with the main content."
viewers:
- Clover
- Aviary
topic:
- property
- AV
Expand All @@ -32,7 +33,7 @@ Each instance of `accompanyingCanvas` may only contain one Canvas, and as such m

In the example, the main Canvas contains audio of a performance of Gustav Mahler's Symphony No. 3 and the `accompanyingCanvas` contains an image of a page from the score.

{% include manifest_links.html manifest="manifest.json" %}
{% include manifest_links.html viewers="Clover, Aviary" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config="data-line='20-58'"%}

Expand Down
3 changes: 2 additions & 1 deletion recipe/0015-start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tags: [audio, video]
summary: "This manifest uses the 'start' property to specify a point in an audio or video object where a client application should begin playback."
viewers:
- Ramp
- Aviary
topic:
- AV
- property
Expand Down Expand Up @@ -38,7 +39,7 @@ For more information on other Selector classes, see: [IIIF Open/Web Annotation E

This example shows a Manifest with a single Canvas with a duration of 1801.055 seconds. It has a single video file (30-minute-clock.mp4) which is associated with it. The `start` property specifies a start point of 120.5 seconds into the playback. The video was created by [DrLex1](https://www.youtube.com/watch?v=Lsq0FiXjGHg) and was released using a [Creative Commons Attribution license](https://creativecommons.org/licenses/by/3.0/).

{% include manifest_links.html viewers="Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="Ramp, Aviary" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="10-18"' %}

Expand Down
4 changes: 3 additions & 1 deletion recipe/0017-transcription-av/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tags: [audio, video, presentation, transcript]
summary: "Transcripts as alternative representation of A/V content"
viewers:
- Ramp
- Aviary
topic: AV
property: rendering
code:
Expand Down Expand Up @@ -35,7 +36,8 @@ In this example, the Manifest is using a single A/V file; therefore, it is equiv

In Ramp, the transcript file is made available to download on the right of the player controls. Click the filename listed in the menu to download the transcript file.

{% include manifest_links.html viewers="Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="Ramp, Aviary" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="39-50"'%}

# Related recipes
Expand Down
3 changes: 2 additions & 1 deletion recipe/0026-toc-opera/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ summary: "Complex nested table of contents for an opera."
viewers:
- UV
- Ramp
- Aviary
topic:
- AV
- structure
Expand Down Expand Up @@ -35,7 +36,7 @@ Leaf Range nodes in a structure are played linearly so they should be contiguous

The opera covers the whole length of the Canvas and is divided into two Ranges for the two acts. Atto Primo has a Range for the prelude and first song and then a Range for the remainder of the act. Atto Secondo has not been subdivided into Ranges for simplicity of this example.

{% include manifest_links.html viewers="UV, Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Ramp, Aviary" manifest="manifest.json" %}
{% include jsonviewer.html src="manifest.json" %}

## Related Recipes
Expand Down
3 changes: 2 additions & 1 deletion recipe/0219-using-caption-file/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ summary: "Providing a caption or subtitle file to a video resource."
viewers:
- Clover
- Ramp
- Aviary
topic: AV
---

Expand Down Expand Up @@ -35,7 +36,7 @@ When using segmented WebVTT with HLS, see [Serving HLS Files][0257].

In this example we use a caption file in the WebVTT format, but other options include a subtitle file in the [SRT](https://en.wikipedia.org/wiki/SubRip) (SubRip Text) or [TTML](https://w3c.github.io/ttml3/index.html) (Timed Text Markup Language) formats, or other text-based format used for the same purpose.

{% include manifest_links.html viewers="Clover, Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="Clover, Ramp, Aviary" manifest="manifest.json" %}

{% include jsonviewer.html src="manifest.json" config='data-line="41-67"'%}

Expand Down
1 change: 1 addition & 0 deletions recipe/matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ viewers:
- Clover
- Navplace Viewer
- Ramp
- Aviary
- Glycerine Viewer
topics:
- basic
Expand Down

0 comments on commit 820a604

Please sign in to comment.