WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. gregorio2
    Member
    Posted 1 year ago #

    hello!
    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
    thx:)

    http://wordpress.org/extend/plugins/wpmbytplayer/

  2. pupunzi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    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.

    Bye,
    Matteo

  3. gregorio2
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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