Implemented iframe player

Also moved all inline javascript to script blocks with jQuery.