Skip to content

Looking for a good way to add media sequences to the manifest (more question than issue) #1

@jenlindner

Description

@jenlindner

I've been experimenting with using the Universal Viewer in conjunction with the RIIIF server for the AIC's Sufia-based app, and would like to use it with PDFs. This means creating media sequences, that implement type "ixif", and adding them to pdf manifests (and maybe more).

I have a behavior module for creating manifests locally, in which I add the media sequences to the manifest created by this gem, and it works, which is great. But I think the way I found is janky, and I'd love help in finding a better architecture for this. One way would be to make it part of this gem, but that seems really ambitious to me, and would require adding options to choose when to add them (based on file and viewer type, I'd think). Another way might be to do what I'm doing, find a way to extend the manifest creation locally, only in less janky way, probably.

This is my manifest_behavior module, that gets added to the generic_works_controller:

https://gist.github.com/jenlindner/9bc2162e95f30f7f1cd8281e0dc165a1

Thanks,
Jen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions