STEP 1: Add custom dialog to open youtube.htm:
oEdit1.customDialog=[["YoutubeVideo","modelessDialogShow('../common/youtube.htm',735,555)"]];
oEdit1.groups=[ ["grpEdit1", "", ["StyleAndFormatting", "Undo", "Redo", "Cut", "Copy", "Paste", "PasteWord", "PasteText", "BRK", "Bold", "Italic", "Underline", "ForeColor", "BackColor"]], ["grpEdit2", "", ["JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyFull", "Paragraph", "BRK", "Numbering", "Bullets", "Indent", "Outdent", "Styles"]], ["grpEdit3", "", ["FontName", "FontSize", "BRK", "Strikethrough", "Superscript"]], ["grpEdit4", "", ["Search", "FullScreen", "BRK", "RemoveFormat", "XHTMLSource"]], ["grpEdit5", "", ["YoutubeVideo", "BRK", "Image"]], ["grpEdit6", "", ["Table", "AutoTable", "BRK", "Hyperlink", "Bookmark"]], ["grpEdit7", "", ["Characters", "Line", "BRK", "CustomTag"]] ];