所以我的HTML有 - swfobject.embedSWF无法嵌入YouTube视频。 我已经提到过youtube api示例 - https://developers.google.com/youtube/js_api_reference#onYouTubePlayerReady
感谢任何帮助。
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
</head>
<body>
<div id = "ytapiplayer"></div>
<script>
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/v/f4dzzv81X9w?autoplay=1enablejsapi=1&playerapiid=ytplayer&version=3",
"ytapiplayer", "425", "356", "8", null, null, params, atts);
</script>
</body>
</html>