Tarea #975 -> Poner los botones del reproductor YouTube con esquema de color claro.
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@67 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
2cfb96dd49
commit
c5640e56a8
@ -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 = $('<iframe />', {
|
||||
|
||||
@ -144,8 +144,8 @@ if (have_posts()) {
|
||||
</ul>
|
||||
</div> <!-- componentPlaylist -->
|
||||
<div class="slideshow_controls">
|
||||
<?php if ($slide_counter > 1) { ?>
|
||||
<div class="controls_fullscreen"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/fullscreen.png' width='11' height='16' alt='fullscreen'/></div>
|
||||
<div class="controls_fullscreen"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/fullscreen.png' width='11' height='16' alt='fullscreen'/></div>
|
||||
<?php if ($slide_counter > 1) { ?>
|
||||
<div class="controls_prev"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/backward.png' width='11' height='16' alt='controls_prev'/></div>
|
||||
<div class="controls_playlist_toggle"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/close.png' width='16' height='16' alt='controls_playlist_toggle'/></div>
|
||||
<div class="controls_next"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/forward.png' width='11' height='16' alt='controls_next'/></div>
|
||||
@ -197,7 +197,7 @@ if (have_posts()) {
|
||||
loopingOn:true,
|
||||
randomPlay:false,
|
||||
autoAdvanceToNextVideo:true,
|
||||
youtubeChromeless:true,
|
||||
youtubeChromeless:false,
|
||||
thumbWidth: 120,
|
||||
thumbHeight: 90,
|
||||
thumbsScrollValue: 150,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user