這不會使YouTube視頻顯示在頁面上,我不知道爲什麼會發生這種情況?swfobject.embedSWF不顯示視頻
<div id="ytPlayer">You need Flash player 8+ and JavaScript enabled to view this video.</div>
<script type="text/javascript">
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/v/Some-random-video?enablejsapi=1&playerapiid=ytplayer", "ytPlayer", "425", "356", "8", null, null, params, atts);
</script>
YouTube提供了[**嵌入代碼**](https://support.google.com/youtube/answer/171780?hl=en)。 – hungerstar