Skip to content

Commit

Permalink
Aviary_IIIF_Player_cookbook_recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
razasaleem3 committed Jan 10, 2024
1 parent c3ddbaa commit cb58625
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 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
2 changes: 1 addition & 1 deletion recipe/0002-mvm-audio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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
2 changes: 1 addition & 1 deletion recipe/0003-mvm-video/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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
2 changes: 1 addition & 1 deletion recipe/0014-accompanyingcanvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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
2 changes: 1 addition & 1 deletion recipe/0015-start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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
2 changes: 1 addition & 1 deletion recipe/0017-transcription-av/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ In Universal Viewer, to access the transcript use the 'Download' link on the bot

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

{% include manifest_links.html viewers="UV, Mirador, Ramp" manifest="manifest.json" %}
{% include manifest_links.html viewers="UV, Mirador, Ramp, Aviary" manifest="manifest.json" %}
{% include jsonviewer.html src="manifest.json" config='data-line="39-50"'%}

# Related recipes
Expand Down
2 changes: 1 addition & 1 deletion recipe/0026-toc-opera/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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
2 changes: 1 addition & 1 deletion recipe/0074-multiple-language-captions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ For expressing the availability of the subtitles in the two languages, we use an

In this example we use subtitle files in the WebVTT format. Other format options include SRT (SubRip Text) or TTML (Timed Text Markup Language), but these are less likely to be supported in IIIF viewers.

{% 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="60-92"'%}

Expand Down
2 changes: 1 addition & 1 deletion recipe/0219-using-caption-file/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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

0 comments on commit cb58625

Please sign in to comment.