我遇到了铬问题。下面的代码在safari中工作正常,但是当我在chrome中单击它时,屏幕变白。有什么想法吗?
<div class="CollapsiblePanelContent" style="text-align:center"><div style="padding:15px;">
<!--youtube-->
<?php
$url = http://www.youtube.com/watch?v=J57IcTH0DQs;
preg_match('/[\\?\\&]v=([^\\?\\&]+)/', $url, $matches);
$id = $matches[1];
$width = '480';
$height = '270';
echo '<object width="' . $width . '" height="' . $height . '"><param name="movie" value="http://www.youtube.com/v/' .
$id . '?version=3&autoplay=0"></param><param name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/' . $id .
'?version=3&autoplay=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
width="' . $width . '" height="' . $height . '"></embed></object>';
?>
</div>
</div>