diff --git a/wp-content/themes/score/lib/scripts/videoslider/js/jquery.apYoutubePlayer.js b/wp-content/themes/score/lib/scripts/videoslider/js/jquery.apYoutubePlayer.js index 989ddc5..b473f61 100644 --- a/wp-content/themes/score/lib/scripts/videoslider/js/jquery.apYoutubePlayer.js +++ b/wp-content/themes/score/lib/scripts/videoslider/js/jquery.apYoutubePlayer.js @@ -38,14 +38,18 @@ http://www.bitspace.in/2011/02/youtube-api-html5-chromeless-player.html var zindexfix='&wmode=transparent'; var youtubeApi; var no_controls='?controls=0'; + var autohide='&autohide=1' + var no_annotations='&iv_load_policy=3'; + var modestbranding='&modestbranding=1'; var no_info='&showinfo=0'; + var theme='&theme=light'; var videoIFrameSrc; if(!_youtubeChromeless){ youtubeApi = '?enablejsapi=1'; - videoIFrameSrc = 'http://www.youtube.com/embed/' + id + youtubeApi + zindexfix; + videoIFrameSrc = 'http://www.youtube.com/embed/' + id + youtubeApi + no_info + no_annotations + modestbranding + theme + autohide + zindexfix; }else{ youtubeApi = '&enablejsapi=1'; - videoIFrameSrc = 'http://www.youtube.com/embed/' + id + no_controls + no_info + youtubeApi + zindexfix; + videoIFrameSrc = 'http://www.youtube.com/embed/' + id + no_controls + no_info + youtubeApi + no_annotations + modestbranding + theme + autohide + zindexfix; } var youtubeVideoIframe = $('', { diff --git a/wp-content/themes/score/video-slider.php b/wp-content/themes/score/video-slider.php index 7a98e86..04644a2 100644 --- a/wp-content/themes/score/video-slider.php +++ b/wp-content/themes/score/video-slider.php @@ -144,8 +144,8 @@ if (have_posts()) {