Forum Discussion
Default Play Pause Button Hiding Using the JavaScript.
Hi There., I've been trying to hide the default Play/Pause Button Using the JavaScript., it seems that it's disabling after the course starts. Is there any ideas please comment here below for our Reference. please provide a solution ASAP. Thank You.
document.getElementById('play-pause').style.visibility = "none";
- NedimCommunity Member
Ravi,
For a permanent solution on the project level, use Jürgen's solution above. To hide this button on a single slide, Execute JavaScript when the timeline starts:
document.getElementById('play-pause').style.display = "none"; - Jürgen_Schoene_Community Member
>Modern Player, in the main navigation
you can enable/disable the play/pause button in the player properties
- RaviPrakashCommunity Member
Sure .Thanks for the help.
- RenaeGigon-c574Community Member
Make sure your Javascript trigger is the FIRST on the trigger list, and consider having the start slide NOT be a video slide, so the trigger can execute before the video slide (with the play button) loads.
- RaviPrakashCommunity Member
I've provided at the beginning., but it's still popping up at the beginning for a few seconds.
- Jürgen_Schoene_Community Member
which player are you using ?
- classic player
- modern player
which play/pause button you want to hide ?
- in video navigation bar
- in main navigation
- RaviPrakashCommunity Member
Modern Player, in the main navigation.