Hi,
This is not the YTPlayer shortcode…
It should be something like:
[mbYTPlayer url="https://www.youtube.com/watch?v=7SnmCUwOsts" opacity="1" quality="default" ratio="auto" isinline="false" autoplay="true" startat="20" showcontrols="true" printurl="true" mute="true" loop="true" addraster="false"]
Bye,
Matteo
Hi pupunzi,
thanks for the quick response.
I tried it with your code. It works, just the autoplay is still not working.
Probably it’s interfering with my theme. I hope I will find how to get around. Then I will post it here.
Thanks for the nice plugin!
greetz
Give me the URL of the page where you have the bgnd video, I’ll take a look.
Bye,
M
Anyone else still having this issue?
I can’t videos to auto play. Example here:
http://cinderent.com/artists/reggie-dabbs/
@aquinonez: On your site you are not using the wordpress component and the script of the YTPlayer plug in is old. If the background video is a feature of the theme you are using you should contact the author and ask to update the script to the latest version.
Bye,
Matteo
@pupunzi What do you mean I am not using the WordPress component? I have the plugin installed and it is version 1.9.2. What is the current version?
View post on imgur.com
Im not using the theme feature as Ive disabled that. Ive been using this plugin with no issues until last week.
As you can see Ive set show controls to true and the video loads after pressing play,which means the component works, just not the auto play.
View post on imgur.com
http://cinderent.com/artists/reggie-dabbs/
@pupunzi this is being generated in the footer
function onYouTubePlayerAPIReady() {
if(ytp.YTAPIReady)
return;
ytp.YTAPIReady=true;
jQuery(document).trigger("YTAPIReady");
}
jQuery.mbYTPlayer.rasterImg ="http://cinderent.com/cewp/wp-content/plugins/wpmbytplayer/images/raster.png";
jQuery.mbYTPlayer.rasterImgRetina ="http://cinderent.com/cewp/wp-content/plugins/wpmbytplayer/images/raster@2x.png";
jQuery(function(){
jQuery(".mbYTPMovie").mb_YTPlayer()
});
Yes, but on the source of your page I can see that the javascript is included twice;
the first is the correct version:
<script type=’text/javascript’ src=’http://cinderent.com/cewp/wp-content/plugins/wpmbytplayer/js/jquery.mb.YTPlayer.js?ver=1.9.2′></script>
the second one is the old one:
<script type=’text/javascript’ src=’http://cinderent.com/cewp/wp-content/themes/brooklyn/js/jquery.mb.YTPlayer.min.js?ver=1.0′></script>
And the second one is overwriting the first.
I solved my problem also.
I just overwrote the “jquery.mb.YTPlayer.js” in mytheme/js map with the newest 1.9.2 version.
Thanks pupunzi for your help.