GNU LGPL FREE

The GNU LGPL is an
open-source license.
Read full license

You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(9 ratings)

TinyMCE YouTube (iFrame, Embed) plugin

Embed Youtube movies easily from TinyMCE editor instances.

Description

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

Back to top

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

    <!-- /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|*]"
Read all 14 comments »

Questions & Comments

  • SK said:

    3 weeks ago
    What version of jQuery is required for this to run properly on all browsers?
  • Mick89 said:

    3 months ago
    Hi,

    Thank you for your plugin!

    I have an error message with the line:
    tinymce.PluginManager.requireLangPack("youtubeIframe")

    Message: Expected object
    Code: 0

    Do you have an idea?

    Thanks!

    Mick
    • Darius Matulionis Author said:

      3 months ago
      Hi, Mick,

      Which version of IE are you using ?? Or this is not IE error ?
    • Mick89 said:

      3 months ago
      Hi, I also have this error with Firefox.The error is located here with this browser: Erreur : missing ; before statement Ligne : 1, Colonne : 260047IN : tiny_mce/tiny_mce_gzip.php?...tinymce.PluginManager.add("youtubeIframe",tinymce.plugins.YoutubeIframePlugin)})()tinyMCE.addI18n('en.youtube In the extract, the error is located here between the brackets : ... () tinyMCE.addI18n Thanks! Mick
    • Mick89 said:

      3 months ago
      Ok, I added a ' ; ' at the end of the editor_plugin.js.

      That functions now!

      Thanks again! :)

      Mick
    • Darius Matulionis Author said:

      3 months ago
      I this i see the problem :) Your MCE language is FR :) In this case you have to add your language file. Just copy \tiny_mce\plugins\youtubeIframe\langs\en.js AND \tiny_mce\plugins\youtubeIframe\langs\en_dlg.js , then replace file name "en" with your language (i gues it should be fr.js and fr_dlg.js ), and translate everything in them :)

      hope it helps
  • Tyler Durden said:

    3 months ago
    I cant seem to get the button to even show up.

Leave a comment

You must be logged-in to leave a comment.
Log-in now or register for a free account.
You must be logged-in to vote. Log-in to your account or register now.
View all 8 reviews »

User Reviews