Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1159 karma points
    Aug 13, 2012 @ 20:01
    Connie DeCinko
    0

    Tidy Error when embedding You Tube Video

    When trying to embed a You Tube video with the new URL format, a [tidy error] replaces all of my content when the page is published. Using the old style link does not cause this error.

    Typical You Tube link: http://youtu.be/71S7ciZHh_s

     

  • Jon Dunfee 199 posts 468 karma points
    Aug 13, 2012 @ 20:42
    Jon Dunfee
    0

    Are you trying to use the Media icon in TinyMCE?  I had the same issue: http://our.umbraco.org/forum/ourumb-dev-forum/bugs/25271-Media-generated-markup-in-TinyMCE-stripped-(471)

    Now, I made some modifications to the tinyMceConfig.config to relax it a bit:

      <customConfig>
        <config key="entity_encoding">raw</config>
        <config key="spellchecker_rpc_url">GoogleSpellChecker.ashx</config>
        <config key="fix_content_duplication">false</config>
        <config key="extended_valid_elements">iframe[src|style|width|height|scrolling|marginwidth|marginheight|frameborder],figure,figcaption</config>
        <config key="apply_source_formatting">true</config>
        <config key="convert_fonts_to_spans">true</config>
        <config key="convert_newlines_to_brs">false</config>
        <config key="fix_list_elements">true</config>
        <config key="fix_table_elements">true</config>
        <config key="fix_nesting">false</config>    
      </customConfig>

    If it still doesn't work, I'd go the jQuery route and hijax an anchor tag.  I did that for a Joomla site as a workaround to get external content served up in the site's template. This appears to be a simple solution: http://viget.com/inspire/youtube-chromeless-video-jquery-plugin  I would have a style defined as .video-link (Call it YouTube Link or something) so it's available in the dropdown and make the definition some kind of outline (like a macro) to indicate this will become a video.

  • Connie DeCinko 931 posts 1159 karma points
    Aug 13, 2012 @ 22:11
    Connie DeCinko
    0

    It works if I use the old embed object code.  If I use the iframe version, now I get nothing as when I save/publish the iframe is stripped out.

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies