CommuniMail - Embededing Youtube vids and other video in CommuniMail
-
- Posts: 5
- Joined: Aug 09, 2009 5:10 pm
Embededing Youtube vids and other video in CommuniMail
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
Re: Embededing Youtube vids and other video in CommuniMail
Hello,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
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>
-
- Posts: 5
- Joined: Aug 09, 2009 5:10 pm
Re: Embededing Youtube vids and other video in CommuniMail
Thanks, Working now!admin wrote:Hello,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
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>