I'm using prettyphoto on my website to display youtube videos. I want the videos to come up at 853 x 505 (youtube size) but when I change the code, the video displays at the correct size but the outer prettyphoto border doesn't expand with it. Does anyone know where I can change the sizing of the outer shaded area around my videos? if(pp_type == 'youtube'){ pp_typeMarkup = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+correctSizes['width']+'" height="'+correctSizes['height']+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.youtube.com/v/'+grab_param('v',$caller.attr('href'))+'&rel=0" /><embed src="http://www.youtube.com/v/'+grab_param('v',$caller.attr('href'))+'&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="853" height="505"></embed></object>'; Code (markup): Any help would be appreciated. Thanks.
Not sure what that is, but are you sure the correctSizes['width'] and height="'+correctSizes['height'] are working correctly? As in outputting INTs not NULL or something else? Trev