Forum Discussion
Trigger for Subtitle Layers
- 8 months ago
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)
 
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)
- ReneeSanchez8 months agoCommunity Member
THANK YOU, Thierry! I believe this will work! Your help is greatly appreciated - thanks for taking the time :)
 
Related Content
- 9 months ago
 - 10 months ago
 - 8 months ago
 - 8 months ago