Hi,
There’s no PHP code but you just need to place a bit of HTML code in the page you need it to make it work:
<div class="mbYTPMovie" data-property="{videoURL:'xxx', opacity:1, autoPlay:false, containment:'body', startAt:0, stopAt:0, mute:true, vol:50, optimizeDisplay:true, showControls:true, printUrl:true, loop:true, addRaster:false, quality:'default', realfullscreen:true, ratio:'16/9', gaTrack:false, stopMovieOnBlur:true}"></div>
Just replace the data-property value with the real one.
Bye,
Matteo
I have tried the HTML code above on the Studio Press Theme, Minimum Pro. I have placed it in every page and in the header without any luck.
@dstubblefield:
Do you have an URL where I can check your code?
From the source code of your page you injected the placeholder DIV as first element on the page and that is really bed :-). That code should be anyway after the BODY tag.
But you should not add any code extra if you set the background video from the YTPlayer settings page (As I can see you already did it).
The video is not visible because your theme has a wrapper DIV (“.site-inner”) that is hover the video and has a white background.
Just set it as “transparent” and the video will come out.
Somewhere in your CSS file:
.site-inner {background-color: transparent!important;}
Bye,
Matteo