Copy link to clipboard
Copied
Hi Team
I am developing a HTML animation which has 2D content, voice over, subtitles and a few videos.
The voice overs are going to be in many languages. Is there a way to change only the language at the flick of a button instead of creating the animation repeatedly in different languages?
Best Regards
Copy link to clipboard
Copied
yes, if you use code to play the audio.
Copy link to clipboard
Copied
Hi kglad
Thanks for your post. Possible to share a sample code?
Best Regards
Copy link to clipboard
Copied
if you have narrations in your library with linkage id = englishID, frenchID, spanishID,... you can pass the id to playLanguageF():
function playLanguageF(s){
var narration = createjs.Sound.createInstance(s);
narration.play();
}
Copy link to clipboard
Copied
hi Kglad
Thank you for sharing the example.
I shall try it out in my file and revert!
Best Regards
Copy link to clipboard
Copied
you're welcome.