The code file is small enought that you should be fine to copy and past the source into your project. Note that this file asyncronosly loads the youtube javascript file, so there is no need to include ...
The carat misbehaves when you backspace (delete) up to the right edge of a YouTube embed. The carat jumps up to the top right corner of the editor. Expected behavior is that the carat would be the ...