Scan your whole stack
Are you using mirador-annotation-editor-video?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.6.1
mirador-annotation-editor-video was last scanned on 27 Nov 2026 at version 1.6.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.6.1 LATEST | 27 Nov 2026 | No rules fired |
| 1.6.0 | 26 Nov 2026 | No rules fired |
| 1.5.1 | 20 Aug 2026 | No rules fired |
| 1.5.0 | 14 Aug 2026 | Not shown |
Findings for v1.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.6.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
mirador-annotation-editor-video(also known as "MAEV") is a Mirador 4
plugin that adds annotation creation tools to the user interface. It support both image and video annotation.
It's based on Mirador Annotation Editor (itself based on the original mirador-annotation. We mainly add create/update annotation on video support on this version.
This plugin is intended to be run with our mirador video. If you want to run classic Mirador 4, see our other plugin Mirador Annotation Editor
npm install mirador-annotation-editor-video
You can override existing annotation plugin with your own versions by using npm. We support React 19 and MUI 7.
This package is intended to be used instead mirador-annotation-editor, package exports are named in consequence. You can use the following snippet to override the existing annotation plugin in your project.
Update your package.json file to include the following dependencies and devDependencies:
"mirador-annotation-editor":"npm:mirador-annotation-editor-video@^1.5.1",
You need also to use the custom version of Mirador 4.
"mirador" : "npm@mirador-video@^4.2.1",
MAE and MAEV share the same build and integration system.
This method requires nvm, npm.
git clone git@github.com:TETRAS-IIIF/mirador-annotation-editor-video.git
cd mirador-annotation-editor-video
nvm use
npm install
Run a demo with Mirador and the MAE plugin :
npm start
Persisting annotations requires implementing a IIIF annotation server. Several examples of annotation servers are available on iiif-awesome.
We provide a full Mirador workspace with persistance at https://app.mirador-multi-user.com.
See demo/src/index.js for a full configuration sample.
let annotationConfig = { // Annotation plugin related
adapter: (canvasId) => new LocalStorageAdapter(`localStorage://?canvasId=${canvasId}`, 'Anonymous User'), // Adapter to persist annotations
allowTargetShapesStyling: true, // Allow user to change color, line ... Color rendering is not fully supported by Mirador viewer in some case
commentTemplates: [{ // Templates for comment creation
content: '<h4>Comment</h4><p>Comment content</p>',
title: 'Template',
},
{
content: '<h4>Comment2</h4><p>Comment content</p>',
title: 'Template 2',
}],
exportLocalStorageAnnotations: false,
quillConfig, // Configuration for the quill editor
readonly: false, // If true, no annotation creation, edit, deleting is allowed
tagsSuggestions: ['Mirador', 'Awesome', 'Viewer', 'IIIF', 'Template'], // Tags suggestions for autocompletion
externalTemplates: [], // Externally-registered annotation templates - see "External annotation templates" below
};
Draft annotations are suggestions waiting for review, for example written by an assistant. They are recognized with a marker set in Mirador's annotations settings (the same setting the viewer uses to draw drafts, when it supports it):
annotations: {
draftMarker: {
property: 'status', value: 'draft', // annotation.status === 'draft'
modelProperty: 'model', batchProperty: 'batch', // optional, shown in the editor banner
},
},
adapter.accept(annotationId) when the adapter has it, otherwise it saves the annotation without the marker. Bulk actions use adapter.acceptAll() / adapter.rejectAll() when available, otherwise they go one annotation at a time. Reject uses adapter.delete.Not to be confused with commentTemplates above, which are pre-filled text snippets for a
note/tag's text field. This section is about registering a whole new annotation type - a new
UI and a new way of saving what the user creates, alongside the built-in Note, Tag, and expert
JSON mode.
MAE's built-in annotation templates are entries in an internal template registry. As of the
template-registry migration
(tetras-dfb/root_repo#12), you can register
your own annotation template alongside them via config.annotation.externalTemplates: an array
of entries following the same contract as a built-in one.
import { templateKit } from 'mirador-annotation-editor';
const { AnnotationFormFooter } = templateKit; // reuse MAE's own building blocks in your template
const myTemplate = {
// A unique id. Never reuse a built-in TEMPLATE.* value ('multiple_body', 'tagging', 'iiif',
// 'text') - a colliding id is dropped (with a console warning) rather than overriding the
// built-in entry.
id: 'my-plugin/my-template',
label: 'My Template', // shown on the picker card
description: 'What this template is for', // shown on the picker card
icon: null, // a React element, or null
isCompatibleWithMediaType: (mediaType) => mediaType === 'Image', // MEDIA_TYPES.IMAGE/AUDIO/VIDEO/UNKNOWN
selectable: true, // false hides it from the picker (reachable only by loading existing data with this id)
Component: MyTemplateComponent, // receives the same props every built-in template does:
// annotation, canvases, closeFormCompanionWindow,
// playerReferences, saveAnnotation, t, windowId
convertToAnnotation: async (state, { canvas, windowId, playerReferences }) => {
// Turn your component's annotationState into a savable IIIF annotation (set `.target`,
// shape `.body`, etc.) and return it.
return { ...state, target: canvas.id };
},
};
let annotationConfig = {
// ... your other options ...
externalTemplates: [myTemplate],
};
See src/annotationForm/templates/examples/exampleExternalTemplate.jsx for a complete, tested
example (a minimal whole-canvas star-rating template) and
src/annotationForm/templates/registry.jsx's TEMPLATE_REGISTRY JSDoc for the full contract
reference.
template to facilitate the creation of annotations with pre-filled content and tagsquill as rich text editor for annotation contentOur plugin follow the Mirador guidelines. Development, design, and maintenance is driven by community needs and ongoing feedback and discussion. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.
The contributors of this software are :
This plugin is released under the GPL v3 license unlike MAE and the original plugin.
Please acknowledge that any modification you make must be distributed under a compatible license and cannot be closed source.
If you need to integrate this code base in closed source pieces of software, please contact us, so we can discuss dual licencing.
The base of this software (up to V1) is the property of SATT Ouest Valorisation that funded its development under the French public contract AO-MA2023-0004-DV5189.
After that, development has been almost fully supported by Tétras Libre with external contributions.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.