Closed Caption | Community
Skip to main content
Level 2
July 1, 2022
Solved

Closed Caption

  • July 1, 2022
  • 1 reply
  • 970 views

Hello Community,

 

I'm facing issue where the Close caption is working in the author environment and doesn't work in the publish environment. 

 

What can be the causing issue? This is happening on aem as cloud services.

 

How we can check that from the log file? I don't have any logs for it. 

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 Tushar_Gupta

There is not any OOTB feature to automatically add caption to your video, you need to add a parameter in DM component. 

Append the copied URL of the video with the following syntax so you can associate it with the copied URL to your caption file:

   &caption=<full Copy URL path to the caption file .vtt>,1

Note the ,1 at the end of the caption URL path. Immediately following the VTT filename extension in the path, you can optionally enable or disable the closed caption button on the video player bar by setting to 1 or 0, respectively.

 

You need to validate the exactly the same path on publish environment & vtt option on publish environment. If it has the correct path then I don't see a reason to not work on publish. Because it does not depends on author/publish it is all together a diff domain from where video is rendered. Additionally, you should also check for console errors. 

 

1 reply

Tushar_GuptaAdobe EmployeeAccepted solution
Adobe Employee
July 2, 2022

There is not any OOTB feature to automatically add caption to your video, you need to add a parameter in DM component. 

Append the copied URL of the video with the following syntax so you can associate it with the copied URL to your caption file:

   &caption=<full Copy URL path to the caption file .vtt>,1

Note the ,1 at the end of the caption URL path. Immediately following the VTT filename extension in the path, you can optionally enable or disable the closed caption button on the video player bar by setting to 1 or 0, respectively.

 

You need to validate the exactly the same path on publish environment & vtt option on publish environment. If it has the correct path then I don't see a reason to not work on publish. Because it does not depends on author/publish it is all together a diff domain from where video is rendered. Additionally, you should also check for console errors.