xing/wysihtml5 — pull request #4 by rabarroso (2011-11-19 23:07:55+00:00)
Title: Adding the possibility to embed an iframe video or all its embed code

It's not tested but it works.

I'm starting to use your wonderful editor to a new project and I needed to embed video from vimeo. I changed the parser rules to allow it and I created new methods to embed these videos.

If you look into my advanced.html demo you can see two new actions.

- Insert video will ask you for source, width and height splited of the video.
- Insert embed code will ask you for all the embed code and if you press "OK", it will be added to the editor.

I know that I should test it and put each new code to the right .js files to respect the make file. So far, all the new code is in wysithml5-0.2.0.js , advanced.html and advanced.js parser rules.

I hope this could be nice in the future for your wonderful editor.