CommuniMail - Embededing Youtube vids and other video in CommuniMail

Message
Author
Digital Entertainment
Posts: 5
Joined: Aug 09, 2009 5:10 pm

Embededing Youtube vids and other video in CommuniMail

#1 Postby Digital Entertainment » Aug 10, 2009 8:05 pm

Hello, is it possible to post/embed youtube videos and other type of videos within your newsletters in CommuniMail? If so please let me know how I would really like to be able to do this. Thanks

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

Re: Embededing Youtube vids and other video in CommuniMail

#2 Postby admin » Aug 11, 2009 4:50 am

Digital Entertainment wrote:Hello, is it possible to post/embed youtube videos and other type of videos within your newsletters in CommuniMail? If so please let me know how I would really like to be able to do this. Thanks
Hello,

First of all, try to place player code via HTML source (there's button on WYSIWYG called "View source").

However, WYSIWYG could mess your player code. If that will happen, then you will be forced to disable it.

You can turn it off by commening following code in /cgi-bin/templates/templform.html:

Code: Select all

<script language="javascript" type="text/javascript">
            tinyMCE.init({
                        theme : "advanced",
                        mode : "exact",
                        elements : "BODY_HTML",
                        relative_urls : false,
                        remove_script_host : false,
                        content_css : "example_advanced.css",
//                      extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
                        plugins : "table",
                        theme_advanced_toolbar_location : "top",
                        theme_advanced_toolbar_align : "left",
                    theme_advanced_buttons1 : "bold,italic,underline,separator,justifyleft,justifycenter,justifyright,fontselect,fontsizeselect,forecolor",
                    theme_advanced_buttons1_add : "bullist,image,a,link,hr,separator,undo,redo",
                        theme_advanced_buttons2 : "tablecontrols, code",
                        theme_advanced_buttons3 : "",
                        //invalid_elements : "a",
//                      theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
                        debug : false,
                        oninit : "myInit"
            });
 
</script>

Digital Entertainment
Posts: 5
Joined: Aug 09, 2009 5:10 pm

Re: Embededing Youtube vids and other video in CommuniMail

#3 Postby Digital Entertainment » Aug 11, 2009 5:16 am

admin wrote:
Digital Entertainment wrote:Hello, is it possible to post/embed youtube videos and other type of videos within your newsletters in CommuniMail? If so please let me know how I would really like to be able to do this. Thanks
Hello,

First of all, try to place player code via HTML source (there's button on WYSIWYG called "View source").

However, WYSIWYG could mess your player code. If that will happen, then you will be forced to disable it.

You can turn it off by commening following code in /cgi-bin/templates/templform.html:

Code: Select all

<script language="javascript" type="text/javascript">
            tinyMCE.init({
                        theme : "advanced",
                        mode : "exact",
                        elements : "BODY_HTML",
                        relative_urls : false,
                        remove_script_host : false,
                        content_css : "example_advanced.css",
//                      extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
                        plugins : "table",
                        theme_advanced_toolbar_location : "top",
                        theme_advanced_toolbar_align : "left",
                    theme_advanced_buttons1 : "bold,italic,underline,separator,justifyleft,justifycenter,justifyright,fontselect,fontsizeselect,forecolor",
                    theme_advanced_buttons1_add : "bullist,image,a,link,hr,separator,undo,redo",
                        theme_advanced_buttons2 : "tablecontrols, code",
                        theme_advanced_buttons3 : "",
                        //invalid_elements : "a",
//                      theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
                        debug : false,
                        oninit : "myInit"
            });
 
</script>
Thanks, Working now!