Copied to clipboard

Flag this post as spam?

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


  • Michiel 30 posts 61 karma points
    Feb 28, 2012 @ 14:35
    Michiel
    0

    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.

  • Warren Buckley 2085 posts 4501 karma points MVP 6x admin hq c-trib
    Feb 28, 2012 @ 14:38
    Warren Buckley
    1

    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 

  • Michiel 30 posts 61 karma points
    Feb 28, 2012 @ 14:45
    Michiel
    0

    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)

  • Warren Buckley 2085 posts 4501 karma points MVP 6x admin hq c-trib
    Feb 28, 2012 @ 14:49
    Warren Buckley
    0

    OK what version of Umbraco are you using and have you made any adjustments to the RTE and TinyMCE in any way?

  • Michiel 30 posts 61 karma points
    Feb 28, 2012 @ 14:56
    Michiel
    0

    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.

  • Warren Buckley 2085 posts 4501 karma points MVP 6x admin hq c-trib
    Feb 28, 2012 @ 14:57
    Warren Buckley
    0

    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

  • Michiel 30 posts 61 karma points
    Feb 28, 2012 @ 15:07
    Michiel
    0

    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&amp;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&amp;hl=en_US" /><param name="allowfullscreen" value="true" /></object>

  • Warren Buckley 2085 posts 4501 karma points MVP 6x admin hq c-trib
    Feb 28, 2012 @ 15:29
    Warren Buckley
    0

    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?

  • Michiel 30 posts 61 karma points
    Feb 28, 2012 @ 16:03
    Michiel
    0

    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 :/

  • Warren Buckley 2085 posts 4501 karma points MVP 6x admin hq c-trib
    Feb 28, 2012 @ 16:20
    Warren Buckley
    0

    Backup, backup, backup is the key. Hopefully uo had something to roll back to.

  • Michiel 30 posts 61 karma points
    Feb 28, 2012 @ 17:23
    Michiel
    0

    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)

Please Sign in or register to post replies

Write your reply to:

Draft