TinyMCE(3.x) YouTube (iFrame, Embed)  plugin

TinyMCE(3.x) YouTube (iFrame, Embed) plugin

Released 3 years ago , Last update 3 years ago

Embed Youtube movies easily from TinyMCE editor instances.

The TinyMCE YouTube iFrame plug-in allows you to easily insert YouTube video clips into your rich-text editor area.

4.6
  • 5 21
  • 4 7
  • 3 2
  • 2 0
  • 1 0
30 Reviews Read Reviews

Pricing

FREE

GNU LGPL

The GNU LGPL is an open-source license.

Instalation

Files

Just copy "youtubeIframe" folder to TinyMCE plugins folder (tiny_mce/plugins/) and add "youtubeIframe" plugin and "youtubeIframe" button to your TinyMCE configuration.

JavaScript

<script type="text/javascript">
        tinyMCE.init({
            // General options
            mode : "textareas",
            theme : "advanced",
            language:'en',
            plugins : "youtubeIframe",

            // Theme options
            theme_advanced_buttons1 : "youtubeIframe",
            theme_advanced_buttons2 :"",
            theme_advanced_buttons3 :"",
            theme_advanced_buttons4 :"",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_statusbar_location : "bottom",
            theme_advanced_resizing : true,
            valid_elements: "iframe[src|title|width|height|allowfullscreen|frameborder|class|id],object[classid|width|height|codebase|*],param[name|value|_value|*],embed[type|width|height|src|*]"
        });
    </script>
    <!-- /TinyMCE -->

You can modify your existing instalation only with:

plugins : "youtubeIframe",

theme_advanced_buttons1 : "youtubeIframe",

valid_elements:"iframe[src|title|width|height|allowfullscreen|frameborder|class|id],object[classid|width|height|codebase|*],param[name|value|_value|*],embed[type|width|height|src|*]"
License » GNU LGPL Download

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


Or enter your name and Email
  • KP Kamlesh Pant 7 months ago
    this plugin is not working for me. it gives me blank instead of textarea
  • N Numberonename 1 year ago
    To make it work without deleting all other formatting add |* to the end of iframe attributes like so: valid_elements:"iframe[src|title|width|height|allowfullscreen|frameborder|class|id|*], object[classid|width|height|codebase|*],param[name|value|_value|*], embed[type|width|height|src|*]"
  • AG Any Gaga 1 year ago
    Is there a way to delete inserted video?
    • P Paula 1 year ago
      Please, I need this answer too!