Forum Discussion

JoseAGomes's avatar
JoseAGomes
Community Member
16 hours ago

Help with toggle Captions and Sound

I need help with custom caption and sound control buttons in a slide presentation. Here's my current setup and issue:

Current Implementation:

  • Created two custom buttons to control captions and sound instead of using default player controls
  • The caption button uses a toggle trigger and state change
  • The sound button uses JavaScript code from NRZ

Problem:

  1. The controls work correctly within a single slide
  2. However, when I change slides, the button states don't persist:
    • If I turn off a control in one slide
    • On the next slide, the button doesn't show the correct 'off' state
    • After this, the button symbols become reversed (off symbol acts as on, and vice versa)

Additional Notes:

  • I don't want to put these controls in the Slide Master since they're not needed on all slides
  • I tried implementing them in the Slide Master but couldn't get them to work there either

Can someone help me fix the button state persistence across slides?







No RepliesBe the first to reply