Forum Discussion
Trigger for Subtitle Layers
Hello,
I have a video that I need subtitles for in 14 languages. My main screen will contain the video with English captions. I will then create layers for each language - the same video on 14 layers with corresponding translated subtitles.
I created a CC text box that, when clicked, will trigger a language text box to appear. The language text box would contain a list of all available languages. The end user would select preferred language and the corresponding layer will show. This is pretty straight forward.
I don't want the list of languages on the slide. I would like for the list to only appear if the end user chooses to view captions and at that time, select the preferred language. Once language is selected, the language box disappears again.
I can't seem to figure out how to make the langauge text box with several triggers appear on the slide. When I add hotspots, those do not move when the language text box moves - this is the same with shapes. Triggers cannot be added to groups (if I group text boxes).
Any help on this would be great! I've been working at this for several hours and can't seem to find a solution.
Hello ReneeSanchez . If I've understood your request correctly, it's quite simple to make a language choice layer appear by pressing the CC button on the Player, since this button toggles the built-in True/False variable “Player.DisplayCaptions”.
So use the following trigger // Show language choice layer when the “Player.DisplayCaption” variable is “TRUE” // When your end-user clicks on the CC button, the “Player.DisplayCaptions” variable is set to “TRUE”.
So, when your end-user clicks on CC, the layer appears; the user chooses a language: clicking on the language button brings up the layer for the chosen language and makes the language choice layer disappear.
I created a small .story file very, very quickly. Please let me know if this answers your request in any way.Translated with DeepL.com (free version)
2 Replies
- ThierryEMMANUELCommunity Member
Hello ReneeSanchez . If I've understood your request correctly, it's quite simple to make a language choice layer appear by pressing the CC button on the Player, since this button toggles the built-in True/False variable “Player.DisplayCaptions”.
So use the following trigger // Show language choice layer when the “Player.DisplayCaption” variable is “TRUE” // When your end-user clicks on the CC button, the “Player.DisplayCaptions” variable is set to “TRUE”.
So, when your end-user clicks on CC, the layer appears; the user chooses a language: clicking on the language button brings up the layer for the chosen language and makes the language choice layer disappear.
I created a small .story file very, very quickly. Please let me know if this answers your request in any way.Translated with DeepL.com (free version)
- ReneeSanchezCommunity Member
THANK YOU, Thierry! I believe this will work! Your help is greatly appreciated - thanks for taking the time :)