-
Notifications
You must be signed in to change notification settings - Fork 33
Recipe #0489 Multimedia Canvas #507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
74c0491
ed1e3ce
50e776a
6f08ad0
4dce5d9
795330f
8b767f2
9050099
659d884
10f2d77
4344ffc
2fb9bdb
e860842
1f22f9e
c5e8284
00a5c73
58bf6a3
951af55
f517cb2
3685e81
5944ad6
53e17c6
5d3bc67
60f2d24
7e61c55
5564d79
221c611
9e946e9
fcdf7d7
b5795ed
55461cc
0750ded
6e66cbc
54ab4cc
fff3e89
09dd1f9
2e74e4f
b2f826f
9249c64
1603085
48dd5b5
bb4e212
4e5b468
6ebc41d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| --- | ||
| title: Multimedia Canvas | ||
| id: 499 | ||
| layout: recipe | ||
| tags: Complex Object | ||
| summary: "tbc" | ||
| viewers: | ||
| - Annona | ||
| - UV | ||
| - Mirador | ||
| - Clover | ||
| - Glycerine Viewer | ||
| topic: | ||
| - annotation | ||
| --- | ||
|
|
||
| ## Use Case | ||
|
|
||
| You want to engage in some form of digital storytelling with one or more AV resources painted onto the same Canvas as a still image that will serve as a background. You want part of the still image to remain visible behind any video AV resources while they play. This storytelling might happen in the context of teaching narrative techniques in curricular settings, as a component of scholarly communications around research output, or for other reasons and in other contexts. | ||
|
|
||
| ## Implementation Notes | ||
|
|
||
| This recipe pulls together techniques and structures described in previous recipes. | ||
| Multiple `item`s on one Canvas as in 0036 | ||
| Differing dimensions of a resource and Canvas as in 0004 but sizing and placing the resource | ||
| New: Mixing video (AV) and still image resources | ||
|
|
||
| ## Restrictions | ||
|
|
||
| No restrictions known. | ||
|
|
||
| ## Example | ||
|
|
||
| Describe the solution in prose and provide an example. | ||
| The example json document must be an external document, and imported with the following: | ||
|
|
||
| {% include manifest_links.html manifest="manifest.json" %} | ||
|
|
||
| {% include jsonviewer.html src="manifest.json" %} | ||
|
|
||
| The direct link to the fixture is a useful convenience. | ||
|
|
||
| ## Related Recipes | ||
|
|
||
| * [Simple Image Manifest][0001] | ||
| * [Image and Canvas with Differing Dimensions][0004] for thinking through relative dimensioning of a resource and a Canvas | ||
|
|
||
| {% include acronyms.md %} | ||
| {% include links.md %} | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| { | ||
| "@context": "http://iiif.io/api/presentation/3/context.json", | ||
| "id": "{{ id.url }}", | ||
| "type": "Manifest", | ||
| "label": { "en": [ "Multimedia Canvas" ] }, | ||
| "items": [ | ||
| { | ||
| "id": "{{ id.path }}/canvas", | ||
| "type": "Canvas", | ||
| "height": 3024, | ||
| "width": 4032, | ||
| "duration": 120, | ||
| "items": [ | ||
| { | ||
| "id": "{{ id.path }}/page/p1/1", | ||
| "type": "AnnotationPage", | ||
| "items": [ | ||
| { | ||
| "id": "{{ id.path }}/annotation/p0001-image", | ||
| "type": "Annotation", | ||
| "motivation": "painting", | ||
| "body": { | ||
| "id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg", | ||
| "type": "Image", | ||
| "format": "image/jpeg", | ||
| "height": 3024, | ||
| "width": 4032, | ||
| "service": [ | ||
| { | ||
| "id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen", | ||
| "profile": "level1", | ||
| "type": "ImageService3" | ||
| } | ||
| ] | ||
| }, | ||
| "target": "{{ id.path }}/canvas" | ||
| }, | ||
| { | ||
| "id": "{{ id.path }}/annotation/p0002-video q", | ||
| "type": "Annotation", | ||
| "motivation": "painting", | ||
| "body": { | ||
| "id": "https://fixtures.iiif.io/video/indiana/donizetti-elixir/vae0637_accessH264_low_act_1.mp4", | ||
| "type": "Video", | ||
| "format": "video/mp4", | ||
| "height": 360, | ||
| "width": 480, | ||
| "duration": 3971.24 | ||
|
||
| }, | ||
| "target": "{{ id.path }}/canvas#xywh=200,200,480,360&t=27,57" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.