Upload subtitles to social videos

Status: Delivered

Status history

I added some code to a page which hosted a video on hubspot which went something along these lines (You will have to upload both the video and a vtt file):

document.addEventListener(“DOMContentLoaded”,function(e){
track = document.createElement(“track”);
track.kind = “captions”;
track.label = “English”;
track.srclang = “en”;
track.src=“/video-track.vtt”; // Will be whereever you upload it
$(“#player”).append(track); // Appending it to the Video player (using ID)
track.addEventListener(“load”, function() {
this.mode = “showing”;
video.textTracks[0].mode = “showing”;
});
});
I added this as a script in the footer of the page. Might help someone else.

adding SRT files is an important missing feature. Captions are important for SEO/accessibility

I completely agree with all of the above - it’s a real problem not being able to at SRT files at the ad creation stage and a pain having to hard code subtitles into the video file itself - old school!

Because of ADA requirements any business or non-profit that is a title III entity (serving the publis such as hotels, restaurants, hotels, theaters, shops, etc.) must have closed captions with any video. The fines for this can go up as high as $75,000 for the first violation. This makes HubSpot video impossible to use for any of these non-profits or businesses.

Empty

We now send user uploaded or AI-generated captions to social networks, when publishing through HubSpot’s social tools.