mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 04:39:08 +00:00
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { FileTypeDefinition } from '../types'
|
|
import VideoViewer from './video-viewer'
|
|
import { CompareVideoPane } from './compare-video-pane'
|
|
|
|
export const videoTypeDefinition: FileTypeDefinition = {
|
|
id: 'video',
|
|
name: 'Video',
|
|
match: (file) => file.proxyType === 'video' || file.proxyType === 'audio',
|
|
viewer: VideoViewer,
|
|
comparePane: CompareVideoPane,
|
|
commentsConfig: {
|
|
hasTimestamp: true,
|
|
hasAnnotations: true,
|
|
hasAiBots: true,
|
|
},
|
|
}
|