F farhang New Member Aug 6, 2020 #1 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 2.6 KB · Views: 563
Hi All, Has anyone tried removing the play/pause and volume controls from the embedded player? Any help will be appreciated. Thanks.
Max Administrator Staff member Aug 6, 2020 #2 Good day. farhang said: Has anyone tried removing the play/pause and volume controls from the embedded player? Click to expand... 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
Good day. farhang said: Has anyone tried removing the play/pause and volume controls from the embedded player? Click to expand... 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