At this time, SmartVideo supports English captions and subtitles when using our auto-conversion from YouTube. We will simply import existing captions from your YouTube video during the optimization process. You will see a simple toggle to turn this on/off within the settings of our WordPress plugin.
If you are looking to manually specify captions in a SmartVideo tag, we can support that as well. Just simply insert the <track> tag inside of the <smartvideo> element just like you would do for a standard video. Here's an example of what the SmartVideo tag will look like:
<smartvideo src="/wp-content/uploads/2020/01/paris.mp4" width="1280" height="720" class="swarm-fluid" poster="/wp-content/uploads/2020/02/paris.jpg" controls> <track default kind="captions" srclang="en" src="/wp-content/uploads/2020/06/paris.vtt"/></smartvideo>
Check out this reference from Mozilla for further information.
Troubleshooting tip if captions don't appear in Swarmify when using YouTube as the source:
When Swarmify sees a YouTube video for the first time on your site, it ingests the video and related captions file (.vtt) one time. If captions were not enabled prior to import, then it means Swarmify didn't ingest it. Enabling captions after Swarmify has ingested the video won't signal to Swarmify that it's there.
Based on that, there's two ways to solve this in order to re-start the process and have Swarmify ingest the captions file as well.
1. Make a copy of the video on YouTube, wait for the captions to be auto generated, then swap out the video on your site for this new version. The video will have to be processed by SmartVideo again.
2. Delete your current video, re-upload a new one, then wait for it to fully process at YouTube and turn captions on. Then place that new embed code on your site so Swarmify can pick everything up brand new.
Again, in both cases make sure the file is fully processed at YouTube and has captions on so Swarmify picks up the new file in its entirety.
Keywords: transcribe , video transcribe , transcribing , video transcribing