Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

loosen checks on vtt file (#5359)

authored by

Samuel Newman and committed by
GitHub
d62e14ec 0681727b

+3 -2
+3 -2
src/view/com/composer/videos/SubtitleFilePicker.tsx
··· 28 28 if (selectedFile) { 29 29 if ( 30 30 selectedFile.type === 'text/vtt' || 31 - (selectedFile.type === 'text/plain' && 32 - selectedFile.name.endsWith('.vtt')) 31 + // HACK: sometimes the mime type is just straight-up missing 32 + // best we can do is check the file extension and hope for the best 33 + selectedFile.name.endsWith('.vtt') 33 34 ) { 34 35 onSelectFile(selectedFile) 35 36 } else {