Ready to get started?Download WordPress


mb.YTPlayer for background videos
[resolved] customize player (4 posts)

  1. gregorio2
    Posted 2 years ago #

    i like wpmbytplayer a lot^^
    anyway is tehre a way to customize the player.
    i want to remove everything except for a mute button sound on/sound off


  2. pupunzi
    Plugin Author

    Posted 2 years ago #

    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.


  3. gregorio2
    Posted 2 years ago #

    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^^

  4. gregorio2
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic