How to Add a transcript text in a page using the Dynamic Media video player in AEMaaCS | Community
Skip to main content
November 15, 2023
Solved

How to Add a transcript text in a page using the Dynamic Media video player in AEMaaCS

  • November 15, 2023
  • 2 replies
  • 1654 views

Hi!

 

I am working in AEMaaCS and I have Dynamic media configured in my ENV.

I need to use the Dynamic Media component to use the video player and I have seen how to add multi-subtitles and multi-audios with DASH and this service to generate transcriptions https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/configure-transcription.html?lang=en#configure-processing-profile-for-transcription
However, I just need to upload my .vtt or .txt file with the video transcription and see it exactly like the button under the video in this page: https://experienceleague.adobe.com/docs/experience-manager-learn/assets/dynamic-media/video/dynamic-media-video-player-feature-video-use.html?lang=en

 

I don't know if it's possible with OOTB, Is it possible? Or I have to create a custom implementation?

 

Thank you very much in advice!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

@joniaem You can refer the vtt file from DM Scene7 just like image or content file with URL like https://silabs.scene7.com/is/content/siliconlabssandbox/1

You may need to read & parse the file to get only the text from it like in this example below

https://github.com/noophq/subtitle/blob/master/src/main/java/fr/noop/subtitle/vtt/VttParser.java

 

I am not sure if AEM provides an API to parse the vtt files inbuilt.

2 replies

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
November 16, 2023

@joniaem You can refer the vtt file from DM Scene7 just like image or content file with URL like https://silabs.scene7.com/is/content/siliconlabssandbox/1

You may need to read & parse the file to get only the text from it like in this example below

https://github.com/noophq/subtitle/blob/master/src/main/java/fr/noop/subtitle/vtt/VttParser.java

 

I am not sure if AEM provides an API to parse the vtt files inbuilt.

joniaemAuthor
November 20, 2023

yes sure!, so I understand that this functionality is not included in the default Adobe component then, so we will make it custom. That parser is very useful, thank you very much! We can consider it resolved then!

kautuk_sahni
Community Manager
Community Manager
November 20, 2023

@joniaem Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
joniaemAuthor
November 20, 2023

Hello, sure! We can consider it resolved!