On click Load the Vimeo on to a div and play

http://stackoverflow.com/questions/6805297/using-jquery-to-dynamically-load-vimeo-videos

HTML

<a href="">Click Here to load and play the video</a>
<div id="video_container"></div>

JavaScript

$('a').click(function(e) {
    e.preventDefault();
  $('#video_container').html('<iframe src="http://player.vimeo.com/video/12345?title=1&amp;byline=1&amp;portrait=1&amp;autoplay=true" width="643" height="360" frameborder="0"></iframe>');
  
});