144
All coding is done in include/video.php.
Look for the function
xtube_showvideo. In this function the following is for YouTube:
le="color: #000000"><?php //Show if source is YouTube if ($source == 0) { $showvideo = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $vidid . '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/' . $vidid . '" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>'; }
This is the code that finally embeds the YouTube video.
You might try it by replacing the lines above with these:
le="color: #000000"><?php //Show if source is YouTube if ($source == 0) { $showvideo = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $vidid . '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/' . $vidid . '&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>'; }