TinyMCE Advanced
oEmbed Not Working (4 posts)

  1. KennyLL
    Posted 3 years ago #

    Hi, we're noticing that if we try to use the default WP oEmbed method to add videos (from YouTube/Vimeo) to a page, TinyMCE Advanced seems to break this behavior somehow and only the text of the link shows up instead of the actual video. We're just adding the link text on it's own line, no manual formatting added.

    We prefer using oEmbed over a shortcode plugin as it's easier for the client, uses built-in WP functionality and is just cleaner to edit overall.

    Upon further investigation, it appears that enabling the "Stop removing <p> and
    tags when saving and show them in the HTML editor" option for TinyMCE Advanced is what causes it to not work. When that is checked, the videos are not embedded on the page. When it is UN-checked, the videos show up as expected.

    - We definitely prefer to use the 'Stop removing...' option, however, so wondering if anything could be done to get both to work in harmony?

    - We also use 'TinyMCE Config'. Could any options here possibly help 'override' things?



  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 3 years ago #

    Yes, when the "Stop removing..." option is selected the post content is saved including all P tags. The default code in WordPress looks only at URLs that are on a separate line and are not wrapped in P.

    Will try to make this work in the next version.

  3. karyl.gilbertson
    Posted 2 years ago #

    Any word on this?

  4. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 2 years ago #

    Added this to the development version (only changed file is tinymce-advanced.php).

    Did some testing and all runs well, but do more testing before using it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TinyMCE Advanced
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic