Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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/config...
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-...

 

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

@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.

Avatar

Level 1

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!

Avatar

Administrator

@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