We will soon submit a PR to the official Mirador repository to add video support for annotations. We already support React 18 and MUI5 are up-to-date to Mirador 4 alpha 2. We provide also a new plugin to display and edit annotations on videos :
https://github.com/SCENE-CE/mirador-annotation-editor
Our fork of Mirador is available as a package on npm.
To use it change your existing Mirador dependency to mirador-video
in your package.json
file.
Before
"mirador": "^3.0.0"
After
"mirador": "npm:mirador-video@^1.0.6"
Then run npm install
to refresh your package.
Mirador local development requires nodejs to be installed.
- Run
npm install
to install the dependencies.
$ npm start
Then navigate to http://127.0.0.1:4444/
var miradorInstance = Mirador.viewer({
id: 'mirador' // id selector where Mirador should be instantiated
});
> miradorInstance
{ actions, store }