Forum Discussion
BLayman
Jan 06, 2023Copper Contributor
Can't upload VTT caption files
For the past month or so, I have been completely unable to upload .vtt captions files to videos hosted on SharePoint/SP Streams. Every time I try, I receive the following error: At this poi...
- Jan 06, 2023
BLayman thanks for taking the time to share your feedback with us, we really value it. Firstly, my apologies on you not being able to upload your VTT file, could I suggest one alternative before opening a support ticket?
Could you please search online for "VTT file validator" and open one of your choosing? In the past I have used Live WebVTT Validator (w3c.github.io) in which you take the content of your VTT and paste it directly in the edit box. It would parse the file and output any potential errors.
The reason I'm suggesting this, is because we actually parse the file for errors prior to uploading the VTT file, but we don't expose those details in the UI. Please let me know how it goes, and thank you again for feedback!
RodrigoTarrats
Microsoft
Jan 06, 2023BLayman thanks for taking the time to share your feedback with us, we really value it. Firstly, my apologies on you not being able to upload your VTT file, could I suggest one alternative before opening a support ticket?
Could you please search online for "VTT file validator" and open one of your choosing? In the past I have used Live WebVTT Validator (w3c.github.io) in which you take the content of your VTT and paste it directly in the edit box. It would parse the file and output any potential errors.
The reason I'm suggesting this, is because we actually parse the file for errors prior to uploading the VTT file, but we don't expose those details in the UI. Please let me know how it goes, and thank you again for feedback!
- BLaymanJan 06, 2023Copper Contributor
RodrigoTarratsThis did it! Apparently the YouTube default .vtt export adds two lines to the beginning of the .vtt file that the Streams parser doesn't like, and it won't allow the upload (which is interesting since Streams Classic had no issue with that). For anyone else with this issue, your .vtt file needs to start with:
WEBVTT 00:00:00.000 --> 00:00:02.164
and not
WEBVTT Kind: captions Language: en-US 00:00:00.000 --> 00:00:02.164
- RodrigoTarratsJan 06, 2023
Microsoft
BLayman I'm so glad you're finally able to upload your VTTs! I will share your feedback with the team in terms of our VTT parser, and potentially displaying the parser's output in the UI to give more context about the error.
Thanks again for posting and sharing, we love your feedback!
- acm48Jun 09, 2023Copper Contributor
RodrigoTarrats I have the same issue, and tried the validator. It says my VTT is valid, but I still can't upload to Sharepoint Stream... Any other suggestions?