function showYouTubePlayerDialog(videoId, displayTitle) {
  videoId = videoId.split(".")[0];
  
  var contentString = '\
  <object width="560" height="340">\
    <param name="movie" value="http://www.youtube.com/v/' + videoId +'?fs=1&amp;hl=en_US"></param>\
    <param name="allowFullScreen" value="true"></param>\
    <param name="allowscriptaccess" value="always"></param>\
    <embed src="http://www.youtube.com/v/' + videoId +'?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>\
  </object>';

  var dialog = new LDialog({
    title: displayTitle,
    content: contentString, 
    close: { 
      overlay: true 
    } 
  });
}
