mo0n,
может документацию почитать про api на youtube?
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
#player{
display: none;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
var tag = document.createElement("script");
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName("script")[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
var player;
function onYouTubeIframeAPIReady() {
player = new YT.Player("player", {
height: "200",
width: "370",
videoId: "xwmDe0OhhPs"
})
}
$(function() {
$(".show img").on({
click: function() {
$(this).hide();
$("#player").show(600, function() {
player.playVideo()
})
}
})
});
</script>
</head>
<body>
<div class="show"><div id="player"></div><img src="http://liubavyshka.ru/_ph/4/1/950678331.jpg" alt=""></div>
</body>
</html>