Remove controls from embed player

Max

Administrator
Staff member
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