Support » Plugin: mb.YTPlayer for background videos » customize player

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pupunzi


    At the time there’s no option for the toolbar customization; if you want to display only a mute/unmute button you can hide the toolbar unchecking the “display controls” check and create your own control somewhere in your page as follow:

    <button class="command" onclick="jQuery('#bgndVideo_home').setYTPVolume(100)"> switch volume </button>
    Where the ID is:
    #bgndVideo_home -> in the case the video is defined as home video.
    #bgndVideo1 -> if you set it via the tinyMCE shortcode window.

    This will create a button that switch the volume from 0 to the maxVol.


    hello mateo
    thanx for your quick answer
    i tried <button class=”command” onclick=”jQuery(‘#bgndVideo_home’).setYTPVolume(100)”> switch volume </button>

    but it didnt quite work for me, so instead i used visibility:hidden on all the div i didn’t want. works good now^^

    but i just noticed in internet explorer. once the mute button has been pressed once, its not possible to reclick it and make the music play or stop again. i hate einternet explorer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘customize player’ is closed to new replies.