sanity-io / sanity-plugin-mux-input

An input component that integrates Sanity Studio with MUX.com video encoding/hosting service.
https://mux.com
MIT License
49 stars 54 forks source link

Add subtitles to Mux videos on Sanity #52

Open iaradds opened 2 years ago

iaradds commented 2 years ago

Hi, we have Mux integrated with Sanity and currently only video and audio are supported but I was checking the documentation and you also offer the possibility of adding subtitles. Could you make this be available through the Sanity integration? Thank you

simonhrogers commented 2 years ago

Agree would be great to see this.

michaelburtonray commented 1 year ago

Agreed, Client requires subtitles in their videos as part of their accessibility guidelines.

roblom commented 1 year ago

+1 P.S. The mux player recently added support for subtitles in multiple languages.

DanielHirunrusme commented 1 year ago

+1

I see the text track in the interface props. Any idea when this feature might be available?

I'm currently having to add a separate file field in the schema for the vtt track that uploads to Sanity, then manually adding it like below. It works but not ideal since the vtt track is not part of the MUX data.

`<MuxPlayer playbackId={playbackId} {...props}

<track label="English" kind="subtitles" src="[.vtt file]" srcLang="en" default /> `

slegay commented 10 months ago

+1

thealice commented 10 months ago

+1, this is a pretty important feature for a11y compliance.

mfanuzzi commented 10 months ago

+1! This is a major feature to be missing

hdoro commented 6 months ago

I'm happy to announce we're now working on the addition of auto-generated subtitles (follow #327 for updates on this).

As for custom subtitles uploaded via .srt or .vtt files, we're aware of its need and have prototyped ideas, but I can't promise a release date for a final solution.

Thank you all for the patience!

ivyrze commented 1 month ago

In case anyone still needs a workaround for this, I built mux-captions which you can use as a sidecar app for uploading captions. Hope this helps someone!