Compare commits
2 Commits
c2901338e1
...
ab1399b853
| Author | SHA1 | Date | |
|---|---|---|---|
| ab1399b853 | |||
| 717e2deb6a |
@@ -842,7 +842,7 @@ function toggleSelect(f: any) {
|
||||
}
|
||||
|
||||
function playVideo(f: any) {
|
||||
currentVideo.value = { fileUuid: f.file_uuid, startFrame: 0, endFrame: 99999, title: `F0-F99999 (${f.file_name})` }
|
||||
currentVideo.value = { fileUuid: f.file_uuid, startFrame: 0, endFrame: 99999, title: f.file_name }
|
||||
playing.value = true
|
||||
}
|
||||
|
||||
|
||||
@@ -1122,7 +1122,7 @@ function playTrace(t: any) {
|
||||
fileUuid: t.file_uuid,
|
||||
startFrame: t.first_frame || 0,
|
||||
endFrame: t.last_frame || (t.first_frame || 0) + 30,
|
||||
title: `F${t.first_frame || 0}-F${t.last_frame || 0} (Trace ${t.trace_id})`
|
||||
title: `F${t.first_frame || 0}-F${t.last_frame || 0} (${formatTime(t.first_sec || 0)}-${formatTime(t.last_sec || 0)})`
|
||||
}
|
||||
playing.value = true
|
||||
}
|
||||
|
||||
@@ -737,7 +737,7 @@ function playAllSegments() {
|
||||
startFrame: t.first_frame || 0,
|
||||
endFrame: t.last_frame || (t.first_frame || 0) + 30,
|
||||
traceIdx: 0,
|
||||
title: `F${t.first_frame || 0}-F${t.last_frame || 0} (${person.value?.name})`,
|
||||
title: `F${t.first_frame || 0}-F${t.last_frame || 0} (${formatTime(t.first_sec || 0)}-${formatTime(t.last_sec || 0)})`,
|
||||
}
|
||||
playing.value = true
|
||||
}
|
||||
@@ -750,7 +750,7 @@ function playMerged(m: any) {
|
||||
startFrame: t.first_frame || 0,
|
||||
endFrame: t.last_frame || (t.first_frame || 0) + 30,
|
||||
traceIdx: m._startIdx,
|
||||
title: `F${t.first_frame || 0}-F${t.last_frame || 0} (${person.value?.name})`,
|
||||
title: `F${t.first_frame || 0}-F${t.last_frame || 0} (${formatTime(t.first_sec || 0)}-${formatTime(t.last_sec || 0)})`,
|
||||
}
|
||||
playing.value = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user