Support » Plugin: mb.YTPlayer for background videos » Background template

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.