Skip to content
Snippets Groups Projects
Select Git revision
  • 3f9543b49d0955f04a14027757b1e9136c545b43
  • main default protected
  • 24-everything-from-git
  • 45-create-new-poc-deployment-with-docker
  • 44-add-a-cli-tool
  • improve-deployment
  • 31-backend
  • bash-script-bug-fix
  • upgrades_submodules
  • 24-dependencies-build-nested-watch
  • 24-dependencies-build-using-workspaces
  • 24-dependencies-build
  • wip-all-local
  • 10-annotot
  • 3-annotation-plugin-showing-up
15 results

index.js

Blame
  • index.js 816 B
    import Mirador from 'mirador/dist/es/src/index';
    
    
    const config = {
      id: 'demo',
      theme: { transitions: window.location.port === '4488' ?  { create: () => 'none' } : {}, },
      catalog: [
        { manifestId: 'http://localhost/dzkimgs_annotated_video.json' },
        { manifestId: 'http://localhost/video_split_annopage.json' },
        { manifestId: 'http://localhost/fediverse.json' },
        { manifestId: 'http://localhost/localvideo.json' },
        { manifestId: 'http://localhost/local_catvideo.json' },
        { manifestId: 'https://dzkimgs.l.u-tokyo.ac.jp/videos/iiif_in_japan_2017/manifest.json' },
        { manifestId: 'https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json' },
        { manifestId: 'https://iiif.harvardartmuseums.org/manifests/object/299843' }
      ]
    }
    
    Mirador.viewer(config, [
    ]);