Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
content: literal({
filename: 'vignett.mp4',
path: '', // let Jan explain & decide
firstWords: '', // none
lastWords: '', // none
// proxyPath?: '', // [todo] implement proxy for scrubbing in UI
// thumbnail?: '', // [todo] implement proxy for scrubbing in UI
loop: false,
sourceDuration: 5, // [todo] check with Jan what this does
// metadata?: none
timelineObjects: [
literal({
_id: 'vignettObj',
deviceId: '',
trigger: {
type: TriggerType.ABSOLUTE,
value: 'now'
},
duration: 30, // todal duration of file (including tailing bed)
LLayer: 'casparcg_player_vignett',
content: {
// objects?: Array
// keyframes?: Array
type: TimelineContentType.VIDEO,
attributes: {
file: 'vignett.mp4',
loop: false
// seek?: number
// videoFilter?: string
// audioFilter?: string
}
// transitions?: {
autoNext: false,
metaData: story.MosExternalMetaData,
// status: [todo: check where we get this from, it's not in roFullStatus
expectedDuration: 0,
slug: ''
// startedPlayback?: number
// duration?: number
}),
literal({
_id: '',
mosId: '',
segmentLineId: '',
runningOrderId: '',
name: '',
trigger: {
type: TriggerType.ABSOLUTE,
value: 'now'
},
status: RundownAPI.LineItemStatusCode.OK, // ?
sourceLayerId: 'studio0_vignett',
outputLayerId: 'pgm0',
expectedDuration: 5, // hard-coded, using mosartVariant,
duration: 5, // same as expectedDuration
disabled: false,
//transitions?: {
//inTransition?: TimelineTransition
//outTransition?: TimelineTransition
// },
content: literal({
filename: 'vignett.mp4',
path: '', // let Jan explain & decide
firstWords: '', // none