Is it possible to display different videos depending on the language selected? | Community
Skip to main content

Is it possible to display different videos depending on the language selected?

  • November 25, 2021
  • 1 reply
  • 0 views

Hello,

I would like to create a block displaying different videos depending on the language selected on the website. I don't know if dynamic content could do that.
Do you have any idea how to proceed?

 

Thank you :)

1 reply

Dave12
  • December 1, 2021
Hi Paul –
 
Yes, it's possible to do this. Your videos need to be posted online (I tested it with a YouTube videos, but I think the other players listed here: Inserting videos in articles
 
First, if you haven't already, you'll need to set up your help center to support multiple languages: Configuring your help center to support multiple languages
 
I created a temporary article, inserted a video, then copied the HTML source code (see Help Center article editor toolbar reference if you're not sure how to see the HTML).
 
Then in Support, create a dynamic content element with that code, using the method here: Changing your help center design based on your end user language 
 
Then create any additional language variants you need, using the same code as the original, but changing the URL to fit the specific video you want to be displayed for that language.
 
Finally, add the dynamic content element to your help center code, wherever you want the video to be displayed, using the format in the article above (but note: don't add extra blank spaces around your dynamic content element name).
 
That should do it!