integrating youtube plugin with tinyMCE

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<ltr?rtl|height|hspace|id|lang|name|style|tabindex|title|type|usemap|vspace|width]’,

11mode : ‘textareas’,

12plugin_preview_height : ‘650’,

13plugin_preview_pageurl : ‘…/…/…/…/…/posts/preview’,

14plugin_preview_width : ‘950’,

15plugins : “youtube,media,preview,curblyadvimage,inlinepopups,safari”,

16relative_urls : false,

17theme : ‘advanced’,

18theme_advanced_buttons1 : “formatselect,fontsizeselect,bold,italic,underline,forecolor,backcolor,separator,justifyleft,justifycenter,justifyright,indent,outdent,separator,bullist,numlist,separator,link,unlink,image,media,separator,undo,redo,help,code,youtube”,

19theme_advanced_buttons2 : “”,

20theme_advanced_buttons3 : “”,

21theme_advanced_layout_manager : ‘SimpleLayout’,

22theme_advanced_resize_horizontal : false,

23theme_advanced_resizing : true,

24theme_advanced_statusbar_location : ‘bottom’,

25theme_advanced_toolbar_align : ‘left’,

26theme_advanced_toolbar_location : ‘top’

27});

28//]]>

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~