I've got this Chrome extension, and it uses jQuery to open a new Window with a YouTube video embedded in it. I do this with
$('#movie_player').get(0).getVideoEmbedCode();
This works great, but you don't get all of the video controls, like quality selection, CC, etc. Is there a way to embed the full player? I would prefer to do it via an API, like the getVideoEmbedCode()
call that I'm currently using.