somilbansal 0 Newbie Poster

I am tryin to embed youtube in my webpage. I am a starter so i might be doing something wrong here. can any please help me on this. I have included the swobject.

<html>
<script type="text/javascript" src="swfobject.js"></script> 
<div id="ytapiplayer">
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/VIDEO_ID?enablejsapi=1&playerapiid=ytplayer", 
"ytapiplayer", "425", "356", "8", null, null, params, atts);
</script>
<script type="text/javascript">
function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
}
</script>
<a href="javascript:void(0);" onclick="onYouTubePlayerReady();">Play</a>
</html>