Skip to content

Commit

Permalink
Made a rough draft of manifest 📝
Browse files Browse the repository at this point in the history
Note that there's an arbitrary time-based resource in the Manifest. This is to try to force a viewer to create a timeline that the still image resources can show up along. (In other words, a hack for the time being)
  • Loading branch information
triplingual committed Nov 22, 2024
1 parent af7a344 commit 1786bf1
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions recipe/0560-resources-on-a-timeline/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "{{ id.url }}",
"type": "Manifest",
"label": { "en": [ "Resources on a Timeline" ] },
"items": [
{
"id": "{{ id.path }}/canvas",
"type": "Canvas",
"height": 2572,
"width": 3764,
"duration": 16,
"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/329817fc8a251a01c393f517d8a17d87-Northeaster_by_Winslow_Homer_1895/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 2572,
"width": 3764,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Northeaster_by_Winslow_Homer_1895/",
"profile": "level1",
"type": "ImageService3"
}
]
},
"target": "{{ id.path }}/canvas#t=0,5"
},
{
"id": "{{ id.path }}/annotation/p0001a-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Winslow_Homer_-_The_Gulf_Stream_-_Metropolitan_Museum_of_Art/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 3540,
"width": 5886,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/329817fc8a251a01c393f517d8a17d87-Winslow_Homer_-_The_Gulf_Stream_-_Metropolitan_Museum_of_Art/",
"profile": "level1",
"type": "ImageService3"
}
]
},
"target": "{{ id.path }}/canvas#t=5.1,10"
},
{
"id": "{{ id.path }}/annotation/p0002-video",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://fixtures.iiif.io/video/indiana/30-minute-clock/medium/30-minute-clock.mp4",
"type": "Video",
"height": 360,
"width": 640,
"duration": 1801.055,
"format": "video/mp4"
},
"target": "{{ id.path }}/canvas#xywh=0,0,500,600&t=1,10"
},
{
"id": "{{ id.path }}/annotation/p0006-text",
"type": "Annotation",
"motivation": "painting",
"body": {
"type": "TextualBody",
"format": "text/html",
"value": "<p style='font-size:96px'></p>",
"language": "en"
},
"target": "{{ id.path }}/canvas#xywh=27000,10200,25000,5000&t=11,16"
}
]
}
]
}
]
}

0 comments on commit 1786bf1

Please sign in to comment.