fix: full file playback and file name display

- Use endFrame=999999 for full file playback (backend clips correctly)
- Add z-index:10 to card-file-info to prevent being obscured
- Full file now plays complete duration
This commit is contained in:
2026-10-20 22:26:38 +08:00
parent 971cfe50f5
commit fc32fb0f86

View File

@@ -1526,7 +1526,7 @@ function playFullFile(r: any) {
currentVideo.value = {
fileUuid: r.file_uuid,
startFrame: 0,
endFrame: 0, // 0 = play to end
endFrame: 999999, // Very large value = full file
title: r.file_name || 'Full Video'
}
playing.value = true
@@ -2094,6 +2094,7 @@ function openSource(src: SourceInfo) {
padding: 5px 8px; background: var(--card-background);
border-bottom: 1px solid var(--border-light);
cursor: pointer; transition: background .15s;
position: relative; z-index: 10;
}
.card-file-info:hover {
background: rgba(var(--primary-color-rgb), 0.1);