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.8"
Then run npm install
to refresh your package.
Mirador local development requires nodejs to be installed.
npm install
npm start
Then navigate to http://127.0.0.1:$PORT/
$PORT is the port number where the project is running. Check the output of the start command to see the port number.
var miradorInstance = Mirador.viewer({
id: 'mirador' // id selector where Mirador should be instantiated
});
> miradorInstance
{ actions, store }