How to setup a API slow playback rate of song button

dzsap-slider-skinwavewithcommentsFor the player configuration you are using in ZoomSounds > Player configurations

Go to Misc and in Extra HTML in Bottom Controls enter

[player_button extra_classes=" " style="btn-zoomsounds" link="#" icon="fa-forward" label="Multishare" extraattr="onclick={{quots}}document.querySelector(`.audioplayer`).api_set_playback_speed(0.5); return false;{{quots}}"]

This will slow playback speed by half for example for the first player

To get a specific player you can do[player_button extra_classes=" " style="btn-zoomsounds" link="#" icon="fa-forward" label="Multishare" extraattr="onclick={{quots}}document.querySelector(`.playerid-32`).api_set_playback_speed(0.5); return false;{{quots}}"]

where 32 is the player id for example

To get a specific playlist you can do[player_button extra_classes=" " style="btn-zoomsounds" link="#" icon="fa-forward" label="Multishare" extraattr="onclick={{quots}}document. querySelector(`.ag_slug_pl1 .audioplayer.active-grom-gallery`).api_set_playback_speed(0.5); return false;{{quots}}"]

where pl1 is the playlist slugĀ for example

Demo player configuration:

dzsap-slider-skinwavewithcomments

If you want a player button

..after the play button you can just do this in misc > extra html after play button

[player_button extra_classes=" " style="player-but" link="#" icon="fa-forward" label="slow down" extraattr="onclick={{quots}} document. querySelector(`.audioplayer`).api_set_playback_speed(0.5); return false;{{quots}} "]

Article Attachments

Was this article helpful?

Related Articles

Leave A Comment?