WordPress.org

Ready to get started?Download WordPress

Forums

TinyMCE YouTube Embed
TypeError! (2 posts)

  1. Denis Lam
    Member
    Posted 1 year ago #

    Install shows up on TinyMCE bar, but when trying to insert video I get a popup error:

    TypeError: Cannot call method 'setContent' of undefined

    Why's that?

    http://wordpress.org/extend/plugins/tinymce-youtube-embed/

  2. Adiasz
    Member
    Posted 7 months ago #

    Change in youtube_embed_dialog.php:

    delete:
    YoutubeEmbedDialog.local_ed.selection.setContent ( output );

    insert:
    tinymce.execCommand('mceInsertContent', false, output);

    and it will work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.