biblibre / omeka-s-module-OctopusViewer

Gather all your media in a lightweight viewer
https://biblibre.github.io/omeka-s-module-OctopusViewer/
GNU General Public License v3.0
4 stars 2 forks source link

Can the Octopus Viewer be called in a theme? #4

Closed uom-mde closed 11 months ago

uom-mde commented 11 months ago

Hello all,

Many thanks for creating this viewer: having a versatile, themeable viewer that supports so many formats is a great development!

One question: is there a way of loading the Octopus Viewer separately in a theme, similar to Daniel KM's Universal Viewer and Mirador Viewer modules? For example:

Universal Viewer: <?php echo $this->universalViewer($item); ?>

Mirador Viewer: <?php echo $this->mirador($item); ?>

We have some content that even the Octopus Viewer does not support (IIIF Storyboard Viewers which use Annona, created as HTML media; and audio/video media created using the Transcript module), and it would be great to conditionally load the Viewer according to the media renderer.

Is this possible?

Thanks again for all your work so far.

All the best, John

jajm commented 11 months ago

Hello John,

It is possible. See https://biblibre.github.io/omeka-s-module-OctopusViewer/en/theme/view-helpers.html

uom-mde commented 11 months ago

Hello Julian,

Thank you for your response, excellent to hear! My apologies for not spotting this in the documentation.

Thanks again for your work on this module, it's much appreciated.

All the best, John