Integrating youtube plugin with tinyMCE


#1

Hello All,

I wanted to use youtube plugin in tiny_mce.

I have jquery installed.
I have youtube plugin in javascipts/tiny_mce/plugins dir.

here is my init script

//<![CDATA[ 3tinyMCE.init({ 4browsers : "msie,gecko,safari", 5cleanup : true, 6cleanup_on_startup : true, 7convert_fonts_to_spans : true, 8convert_urls : false, 9editor_selector : 'mceEditor', 10extended_valid_elements : 'img[class|src|flashvars|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed|scale|wmode|salign|style],embed[src|quality|scale|salign|wmode|bgcolor|width|height|name|align|type|pluginspage|flashvars],object[align<bottom?left?middle?right?top|archive|border|class|classid|codebase|codetype|data|declare|dir

but i dont know what is going wrong with me.

I am getting error.

importpluginlanguagepack is not a function

please, help me out…

Thanks,
Sandip R~

Ruby on Rails Developer



www.joshsoftware.com