How this works:
onYouTubePlayerReady which is automatically called when the youtube video is ready to play. Line 11 I
You can copy paste this code to and make experiments. For more details please visit: http://code.google.com/apis/youtube/js_api_reference.html to view the more API parameters.
Happy YouTube Integration with Auto-played Muted video