File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ import { provideAnnotator } from 'vue-media-annotator/provides';
2525import {
2626 ImageAnnotator ,
2727 VideoAnnotator ,
28- NativeVideoAnnotator ,
2928 LargeImageAnnotator ,
3029 LayerManager ,
3130 useMediaController ,
3231} from ' vue-media-annotator/components' ;
32+ // NativeVideoAnnotator uses electron APIs, import directly to avoid lib build issues
33+ import NativeVideoAnnotator from ' vue-media-annotator/components/annotators/NativeVideoAnnotator.vue' ;
3334import type { AnnotationId } from ' vue-media-annotator/BaseAnnotation' ;
3435import { getResponseError } from ' vue-media-annotator/utils' ;
3536
Original file line number Diff line number Diff line change 66
77import ImageAnnotator from './annotators/ImageAnnotator.vue' ;
88import VideoAnnotator from './annotators/VideoAnnotator.vue' ;
9- import NativeVideoAnnotator from './annotators/NativeVideoAnnotator.vue' ;
109import LargeImageAnnotator from './annotators/LargeImageAnnotator.vue' ;
10+ // NativeVideoAnnotator is not exported - it depends on electron and is only for desktop app
1111
1212import Controls from './controls/Controls.vue' ;
1313import EventChart from './controls/EventChart.vue' ;
@@ -33,7 +33,6 @@ export {
3333 /* Annotators */
3434 ImageAnnotator ,
3535 VideoAnnotator ,
36- NativeVideoAnnotator ,
3736 LargeImageAnnotator ,
3837 /* Controls */
3938 Controls ,
You can’t perform that action at this time.
0 commit comments