Use Case
The simplest viable manifest for video content. This pattern presents a single video file in a IIIF Presentation resource.
Implementation Notes
The implementation is identical to the image example, except that the content is video and the canvas has the duration property additional to the height and width properties. The value of the duration property must be a floating point number. If the duration value you have is an integer, it therefore needs to be written with at least a decimal point and a trailing zero: 1985.0 rather than 1985.
Example
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.
JSON-LD |
View in Universal Viewer
|
View in Mirador
|
View in Clover
|
View in Ramp
|
View in Aviary
|
View in Theseus
|
View in Glycerine Viewer
Code samples: Python: iiif-prezi3
Use Case
The simplest viable manifest for video content. This pattern presents a single video file in a IIIF Presentation resource.
Implementation Notes
This illustrates the mandatory structure and properties of a manifest, with the simplest possible video content.
The implementation is substantively identical to the image example, except that the content is video and the Canvas has the duration property additional to the height and width properties. See Simplest Manifest - Image for enumeration and brief description of required properties.
The value of the duration property must be a floating point number. If the duration value you have is an integer, it therefore needs to be written with at least a decimal point and a trailing zero: 1985.0 rather than 1985.
The duration of the video file, in seconds, is given and here matches the Canvas’s duration property exactly. Matching is not required, but mismatches will change how much of the video is presented and may change what happens after the video finishes playing. Likewise, the pixel dimensions of the video file match the dimensionless coordinate space units. Matching is also not required here, but mismatches may change the visual display.
Example
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 associated with it. The mp4 also has a duration of 572 seconds.
JSON-LD |
View in Universal Viewer
|
View in Mirador
|
View in Clover
|
View in Ramp
|
View in Aviary
|
View in Theseus
Manifest Comparison
Below is an auto generated diff showing the changes between IIIF Presentation API version 3 and version 4 of the recipe Manifest.