Copied to clipboard

Flag this post as spam?

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


  • Jeanre Swanepoel 2 posts 20 karma points
    Aug 03, 2009 @ 14:27
    Jeanre Swanepoel
    0

    Umbraco 3 Allow Script tags in the html

    Hi All

    Is it possible for one to add

    <script language="javascript">

    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Bne4lz5G3n0&hl=en&fs=1&;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Bne4lz5G3n0&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

    </script>

    in the html editor of umbraco 3. At this point in time I view HTML paste it and then save and publish it dissapears when reoping the editor

    Regards

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Aug 03, 2009 @ 14:36
    Douglas Robar
    0

    The way to do this would be with an xslt macro that takes parameters for the url (and possibly width and height) and outputs the proper html and script info, possibly including SWFobject as well.

    Explanations and examples are available here:

    http://forum.umbraco.org/yaf_postst2921_How-to-embed-a-video-from-youtube.aspx

    http://www.nibble.be/?p=36

     

    cheers,
    doug.

  • 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