Are all macros that you insert into the RTE having this problem or is it just unique to uTube macros? As thinking its more a problem with the instance perhaps.
I think there is a problem with your install then rather than the uTube package. Have you installed anything new or deployed any new code to the site recently and was inserting macros into the RTE working previously?
Hmz..didn't really have a good state to go back to so I reproduced the project in the last hour. Didn't know the TinyMCE broke untill the project was finished and I tried to add some more features. But I needed a full clean version anyways.
TinyMCE stripping out Macro
When I insert the marco in the TinyMCE, it shows the preview. But when I press save/publish it removes it.
And when I look at the generated code it shows this:
<p>Hier een youtube filmpje</p> <!--?UMBRACO_MACRO width="" hiderelated="0" videourl="http://www.youtube.com/watch?v=xos2MnVxe-c" downloadsource="" macroAlias="YoutubeEmbed-CrossBrowserbyAvaLtd" height="" downloadtext="" /-->
But no embeded movie.
Hiya,
Looking at the alias of your macro this is not part of the uTube package but a different package
http://our.umbraco.org/projects/website-utilities/youtube-embed-cross-browser-by-ava-ltd
I recommend getting in touch with that project owner and seeing if they can help you.
Warren
My bad was trying every youtube embed there is. But uTube gives back about the same.
<p>Hier een youtube filmpje</p> <!--?UMBRACO_MACRO videoheight="" aspectratio="" macroAlias="uTube.ClassicPlayer" videoid="" videourl="http://www.youtube.com/watch?v=xos2MnVxe-c" videowidth="" allowfullscreen="0" /-->
(sorry for the mixup)
OK what version of Umbraco are you using and have you made any adjustments to the RTE and TinyMCE in any way?
I'm using umbraco v 4.7.1.1 (Assembly version: 1.0.4393.24044)
The TinyMCE - RTE is just 'out of the box'.
I think, from what I've read, the problem is with the TinyMCE. But most of the time you guy's have some clever workarounds or solutions.
Are all macros that you insert into the RTE having this problem or is it just unique to uTube macros?
As thinking its more a problem with the instance perhaps.
Warren
Same problem with the Contour macro.
Funny thing tho, I can embed a youtube movie when I use the old embed code from the site.
<object width="420" height="315" data="http://www.youtube.com/v/xos2MnVxe-c?version=3&hl=en_US" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/xos2MnVxe-c?version=3&hl=en_US" /><param name="allowfullscreen" value="true" /></object>
I think there is a problem with your install then rather than the uTube package.
Have you installed anything new or deployed any new code to the site recently and was inserting macros into the RTE working previously?
You're right, I think something broke the TinyMCE. Cause it works on an other project I'm running local.
After uninstalling allot all my macro's broke down...
Just one of those days :/
Backup, backup, backup is the key. Hopefully uo had something to roll back to.
Hmz..didn't really have a good state to go back to so I reproduced the project in the last hour. Didn't know the TinyMCE broke untill the project was finished and I tried to add some more features. But I needed a full clean version anyways.
Didn't test it yet but should work.
Thx for all your help (again)
is working on a reply...