Answer the question
In order to leave comments, you need to log in
How to send video using TinyMCE plugin?
0
vote against
favorites
When uploading a video to a template for a letter using the TinyMCE plugin, the video does not come to the mail.ru mail. another site. Letters reach, but the video itself is not.
//WYSIHTML5 Editor
if ($('#marketing_emails_content').length)
{
// $('#marketing_emails_content').wysihtml5();
$('#marketing_emails_content').tinymce(
{
width: '100%',
// Location of TinyMCE script
script_url : '/assets/tinymce/tinymce.min.js',
content_css : '/assets/tinymce/styles/default.css',
// General options
theme: "modern",
visual_table_class: 'table',
removed_menuitems: 'newdocument',
font_formats: "Verdana=verdana,arial,sans-serif;Calibri=calibri,sans-serif;Arial=arial,helvetica,sans-serif;Courier New=courier new,courier;Georgia=georgia,serif;Lucida Console=lucida;Times New Roman=times new roman;Segoe UI=segoe ui;Roboto=roboto",
fontsize_formats: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt",
plugins: [
"advlist autolink autosave link image jbimages lists charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
"table contextmenu directionality emoticons template textcolor paste fullpage textcolor colorpicker textpattern"
],
toolbar1: "bold italic underline strikethrough | forecolor backcolor | alignleft aligncenter alignright alignjustify | outdent indent | styleselect formatselect fontselect fontsizeselect",
toolbar2: "bullist numlist | undo redo | link image jbimages media code | insertdatetime preview | table | template | removeformat | subscript superscript",
templates: "/ajax/services/get_email_layouts",
relative_urls: false,
remove_script_host: false,
branding: false
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question