Back to Peertube

Video Caption Edit Modal.Component

client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-edit-modal.component.html

8.1.5659 B
Original Source

Edit caption "{{ videoCaption.language.label }}"

@if (videoEdit.isPublishedVOD()) { }

@if (!rawEdit && !segmentToUpdate) { }

@if (formErrors.captionFileContent) { {{ formErrors.captionFileContent }} }

@for (segment of segments; track segment.id) { @if (segmentToUpdate === segment) {

Segment start timestamp @if (videoEdit.isPublishedVOD()) { }

Segment end timestamp @if (videoEdit.isPublishedVOD()) { }

Segment end timestamp @if (segmentEditError) { {{ segmentEditError }} }

} @else {

{{ segment.startFormatted }} -> {{ segment.endFormatted }} {{ segment.text }}

@defer (on viewport) { } @placeholder {

}

} }