How can i add subtitles to video player #264
Answered
by
luwes
issam-seghir
asked this question in
Q&A
-
I have AI-generated subtitles ready in the backend and I want to add them to the video. I've read the documentation and there's nothing about subtitles and captions! import Video from 'next-video';
import awesomeVideo from 'https://www.mydomain.com/remote-video.mp4';
export default function Page() {
return <Video src={awesomeVideo} />;
} |
Beta Was this translation helpful? Give feedback.
Answered by
luwes
Jun 12, 2024
Replies: 1 comment
-
with Mux you can add them via the Mux video API or if you like to add them manually from your own backend you can add a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
issam-seghir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with Mux you can add them via the Mux video API
https://docs.mux.com/api-reference#video/operation/create-asset-track
or if you like to add them manually from your own backend you can add a
<track>
element.it works similarly to how it works with the native
<video>
tag.