下面是我的兩個方案,都無法播放,求解:<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script><embed allowFullScreen="true" id="embedid" quality="high" width="620" height="500" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed><script type="text/javascript">
$(function(){
$("#embedid").attr("src","http://player.youku.com/player.php/sid/XMzE5NDUyNTcy/v.swf");
/* var ebd = document.getElementById("embedid");
ebd.src = "http://player.youku.com/player.php/sid/XMzE5NDUyNTcy/v.swf";*/
})</script>
我想在頁面加載完之后,再給embed 加入src 值,但embed 后播放不了。
隔江千里
2023-04-15 18:14:14