buenas. implemente el highslide en un proyecto. en el proyecto he implementado la galeria y el popup para el video de youtube. de la galeria del highslide me funciona, pero para ver el video youtube no me funciona.
me muestra el siguiente error.
este es mi codigo.
Código HTML:
Ver original<!--
1 ) Reference to the files containing the JavaScript and CSS.
These files must be located on your server.
-->
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script> <script type="text/javascript" src="highslide/highslide-with-html.js"></script> <script type="text/javascript" src="js/swfobject.js"></script> <link rel="stylesheet" type="text/css" href="highslide/highslide.css"> <!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="highslide/highslide-ie6.css" />
<![endif]-->
<!--
2) Optionally override the settings defined at the top
of the highslide.js file. The parameter hs.graphicsDir is important!
-->
<script type="text/javascript"> hs.graphicsDir = 'highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.fadeInOut = true;
hs.dimmingOpacity = 0.8;
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;
hs.allowSizeReduction = false;
// always use this with flash, else the movie will be stopped on close:
hs.preserveContent = false;
hs.wrapperClassName = 'draggable-header no-footer';
hs.captionEval = 'this.thumb.alt';
hs.marginBottom = 105; // make room for the thumbstrip and the controls
hs.numberPosition = 'caption';
// create a shorthand function so we don't need to put all this in the opener's onclick
function openYouTube(opener) {
var returnValue;
// Safari Mobile doesn't have Flash, so we just let the device use the built-in
// YouTube viewer.
if (/(iPhone|iPod|iPad)/.test(navigator.userAgent)) returnValue = true;
else returnValue = hs.htmlExpand(opener, {
objectType: 'swf',
objectWidth: 480,
objectHeight: 385,
width: 480,
swfOptions: {
params: {
allowfullscreen: 'true'
}
},
maincontentText: 'You need to upgrade your Flash player'
});
return returnValue;
}
// Add the slideshow providing the controlbar and the thumbstrip
hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
overlayOptions: {
className: 'text-controls',
position: 'bottom center',
relativeTo: 'viewport',
offsetY: -60
},
thumbstrip: {
position: 'bottom center',
mode: 'horizontal',
relativeTo: 'viewport'
}
});