• whoopcg

    (@whoopcg)


    Hi there.
    I’ve used this line of code on my template, to try to add a background movie to the template.
    Didn’t work.
    Can anyone help?

    <?php echo do_shortcode("[mbYTPlayer url="http://www.youtube/example" ratio="16/9" mute="true" loop="true" showcontrols="false" opacity=1]"); ?>

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

Viewing 1 replies (of 1 total)
  • Plugin Author pupunzi

    (@pupunzi)

    Hi,
    Try adding all the properties to the shortcode, for example:

    [mbYTPlayer url="https://www.youtube.com/watch?v=FVsoruxYPCA" opacity=".8" quality="medium" ratio="auto" isinline="false" autoplay="true" startat="50" showcontrols="true" printurl="true" mute="true" loop="true" addraster="true"]

    Or you could write the corresponding generated HTML directly in the HTML template code:

    <div id="bgndVideo1" class="movie inline_YTPlayer" data-property="{videoURL:'https://www.youtube.com/watch?v=FVsoruxYPCA', opacity:.8, autoPlay:true, containment:'body', startAt:50, mute:true, optimizeDisplay:true, showControls:true, printUrl:true, loop:true, addRaster:true, quality:'medium', ratio:'auto'}"></div>

    Bye,
    M

Viewing 1 replies (of 1 total)
  • The topic ‘Background template’ is closed to new replies.