Remove controls from embed player

farhang

New Member
Hi All,

Has anyone tried removing the play/pause and volume controls from the embedded player?

Any help will be appreciated.

Thanks.
 

Attachments

  • Embed player.png
    Embed player.png
    2.6 KB · Views: 563
Good day.
Has anyone tried removing the play/pause and volume controls from the embedded player?
Embed player uses custom controls, so you're free to modify or hide them. Just add to init_page() function
JavaScript:
function init_page() {
    ...
    if (autoplay ) {
        $(".play-pause").click();
    }
    $(".play-pause").hide();
    $(".fullscreen").hide();    
    $('.volume').hide();
    $('.volume-range-block').hide();
}
and all the controls will be hidden and unavailable
 
Top