Forum Discussion

davelees's avatar
davelees
Community Member
8 months ago

Hide controls on screen timeline start

Hi guys,

I am trying to hide the controls (replay, volume, cc, playback speed, settings, fullscreen) only on one slide on timeline start, is there any way to do this?

  • Hello Dave,

    Happy to chime in!

    You can hide certain player features for specific slides by using the Custom for the selected slides option in Slide Properties. Here's how: 

    Note that these features will be removed immediately once the slide is loaded, not when the timeline is started since the removal of these features is not controlled by triggers.

    Let me know if you have any questions!

     

  • davelees's avatar
    davelees
    Community Member

    Hi Jose, 

    Thanks for your input.

    Unfortunately I am trying to hide the replay, volume, cc, playback speed, settings, fullscreen buttons

    • JoseTansengco's avatar
      JoseTansengco
      Staff

      Hi Dave, 

      Thanks for the update. Hiding specific buttons on certain slides can be done by Javascript, though this method is not something we support. You can check out this Javascript solution from a community member to hide the volume button on the slide and repeat the procedure for the other buttons that you would like to hide. You'll want to add any Javascript code that you'd like to run on the slide using this trigger:

      I'll let other members of the community chime in with their solutions so you can choose which one works best in case you prefer a different approach!

      • davelees's avatar
        davelees
        Community Member

        Thank you very much Jose!

        Is there a list of names for the different objects in the tools?

  • davelees's avatar
    davelees
    Community Member

    Hi Steve,

    In the example provided by Jose above it references the web object for the volume button:

    $('.btn.cs-button.volume').hide()

    I also need to be able to reference the replay, cc, playback speed, settings, and  fullscreen buttons.

    Hope that makes sense

    Thanks
    Dave

    • Thanks for sharing those, Dave! I don't see those referenced in the community yet, but hopefully, one of our Javascript experts will jump into this discussion!