Copied to clipboard

Flag this post as spam?

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


  • Christian Stenfors 80 posts 124 karma points
    May 26, 2011 @ 11:35
    Christian Stenfors
    0

    the macro disappers in the RTE when i click publish

    i inserted the macro in the RTE, then picked a youtube url http://www.youtube.com/watch?v=cPwZhHPZLC8, then no max width or height.

    This places the "here are a macro" colored html element, but not the "this content does not render in the editor".

    Then when i clicked publish, the macro disappered?

  • tentonipete 78 posts 223 karma points
    Sep 02, 2011 @ 17:02
    tentonipete
    0

    I have been having a similar issue when i attempt to insert 2 videos into 1 page. Even with regular content in between the videos. One or both of the macros will just vanish from the source. I am using 4.7

  • Amir Khan 1282 posts 2739 karma points
    Oct 27, 2011 @ 21:14
    Amir Khan
    0

    I'm also having this issue. I get a server error.

  • Daniel 2 posts 22 karma points
    Dec 14, 2011 @ 02:34
    Daniel
    0

    I have the same problem, but only with videos, with images from flickr works fine, but with videos (youtube or vimeo) the macro dissapears.

  • Amir Khan 1282 posts 2739 karma points
    Dec 15, 2011 @ 05:11
    Amir Khan
    0

    Hi Daniel, are you still experiencing this problem?

  • Daniel 2 posts 22 karma points
    Dec 15, 2011 @ 15:54
    Daniel
    0

    Hi Amir,

    Yes, now better I'm using Youtube Embed - Cross Browser by Ava Ltd

    It works fine for youtube videos, but it hasn't the maxwidth and maxheight properties.

  • Harv 18 posts 38 karma points
    Apr 20, 2012 @ 13:21
    Harv
    0

    I think your macro dissapears in the RTE because of your Tiny MCE settings. If the HTML elements are not in the validElements list it will strip them out.

    Open up /config/tinyMceConfig.config and make sure all the relevant HTML elemets are in the "validElements" node.

    This is an example of the HTML that gets generated:

    <div umb_source="http://youtu.be/AXdlUQ06PFw" umb_maxwidth="" umb_macroalias="CPalm.Umbraco.Macro.OEmbed" umb_maxheight="" ismacro="true" onresizestart="return false;" umbversionid="f8289bcd-2031-46f1-977e-6c99878e1d0c" umbpageid="1397" title="This is rendered content from macro" class="umbMacroHolder"><!-- startUmbMacro --><iframe width="640" height="360" src="http://www.youtube.com/embed/AXdlUQ06PFw?fs=1&amp;feature=oembed" frameborder="0" allowfullscreen=""></iframe> <!-- endUmbMacro --></div> 



Please Sign in or register to post replies

Write your reply to:

Draft