Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
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
I'm also having this issue. I get a server error.
I have the same problem, but only with videos, with images from flickr works fine, but with videos (youtube or vimeo) the macro dissapears.
Hi Daniel, are you still experiencing this problem?
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.
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&feature=oembed" frameborder="0" allowfullscreen=""></iframe> <!-- endUmbMacro --></div>
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted