Skip to content

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
aniku777tw committed Dec 10, 2023
2 parents 06abf53 + 16ff59e commit b1b7755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/library/VideoLibraryItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const CaptionModal: React.VFC<{ videoId: string; videoUrl: string } & ModalProps
</Select>
{languageCode && (
<Upload
accept=".srt,.vtt"
accept=".vtt"
customRequest={async ({ file, onSuccess, onError }) => {
const url = videoUrl.includes('output')
? `${videoUrl.split('output')[0]}captions/${languageCode}.${last(file.name.split('.'))}`
Expand Down

0 comments on commit b1b7755

Please sign in to comment.