I want to add multiple Subtitles captions for different languages in a video in AEM without changing its extension to .vtt
Solved! Go to Solution.
Views
Replies
Total Likes
AEM doesn't provide direct video editing capabilities. To add multiple subtitle captions for different languages to a video without changing its extension to .vtt (WebVTT format), you would typically need to edit the video and subtitles separately and then host them within AEM. You could try something like this:
Video Editing:
Subtitle File Conversion (if necessary):
Host the Video and Subtitles:
Embed Subtitles in Web Pages:
track
element for each subtitle file within the <video>
tag.<video controls>
<source src="/path/to/your/video.mp4" type="video/mp4">
<track src="/path/to/subtitle-en.vtt" kind="subtitles" srclang="en" label="English">
<track src="/path/to/subtitle-es.vtt" kind="subtitles" srclang="es" label="Spanish">
<!-- Add more tracks for other languages as needed -->
</video>
Styling and Customization:
Hope this helps
AEM doesn't provide direct video editing capabilities. To add multiple subtitle captions for different languages to a video without changing its extension to .vtt (WebVTT format), you would typically need to edit the video and subtitles separately and then host them within AEM. You could try something like this:
Video Editing:
Subtitle File Conversion (if necessary):
Host the Video and Subtitles:
Embed Subtitles in Web Pages:
track
element for each subtitle file within the <video>
tag.<video controls>
<source src="/path/to/your/video.mp4" type="video/mp4">
<track src="/path/to/subtitle-en.vtt" kind="subtitles" srclang="en" label="English">
<track src="/path/to/subtitle-es.vtt" kind="subtitles" srclang="es" label="Spanish">
<!-- Add more tracks for other languages as needed -->
</video>
Styling and Customization:
Hope this helps
Thanks
EstebanBustamante
Views
Like
Replies