Valid Xhtml Flash insertion with alternative for no flash and google code sniffer..

Last post 06-24-2009, 4:52 AM by mike.chambers. 4 replies.
Sort Posts: Previous Next
  •  06-15-2009, 12:19 PM 53153

    Valid Xhtml Flash insertion with alternative for no flash and google code sniffer..

    Is it possible to to have cuteeditor insert flash objects with this markup
     
    In order to have alternative content for no flash... or indeed flash version too old.
     
    <script type="text/javascript">swfobject.registerObject("FlashItem", "6.0.0");</script>  
       <object id="FlashItem" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="764" height="322">
        <param name="movie" value="/Flash/Corporate/Home.swf" />
              <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="/Flash/Corporate/Home.swf" width="764" height="322">
        <!--<![endif]-->
        <param name="allowScriptAccess" value="sameDomain" /><param name="wmode" value="opaque" />
        <div>
         <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
         <img src="http://cutesoft.net/Flash/Corporate/Home.jpg" alt="alternative content as flash player too low"></img>
        </div>
        <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
       </object>
  •  06-16-2009, 1:39 PM 53180 in reply to 53153

    Re: Valid Xhtml Flash insertion with alternative for no flash and google code sniffer..

     
    Please set the following property to false then try again:
     

    EnableStripScriptTags

    Specifies whether to remove inject script before write the string into the db. When this property is set to true (the default) Cute Editor strips all script elements and script contents from the html


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-24-2009, 4:50 AM 53451 in reply to 53180

    Re: Valid Xhtml Flash insertion with alternative for no flash and google code sniffer..

    Adam, I think you missed my point... I don't want top add this manually to the editor ( we already have enablestripscripttags for other things) what I want to do is change the html that gets inserted when you click the toolbar insert flash button... eg replace what you have to use the standards compliant, with deprication script that I'd posted previously.
    :-)
    I was hoping just to change your already implemeted insert flash routine, rather than reinvent the wheel and crete my own insert flash button and dialogs :-)
  •  06-24-2009, 4:51 AM 53452 in reply to 53180

    Re: Valid Xhtml Flash insertion with alternative for no flash and google code sniffer..

    Adam, I think you missed my point... I don't want to add this manually to the editor ( we already have enablestripscripttags for other things) what I want to do is change the html that gets inserted when you click the toolbar insert flash button... eg replace what you have to use the standards compliant, with deprication script that I'd posted previously.
    :-)
    I was hoping just to change your already implemeted insert flash routine, rather than reinvent the wheel and crete my own insert flash button and dialogs :-)
  •  06-24-2009, 4:52 AM 53453 in reply to 53452

    Re: Valid Xhtml Flash insertion with alternative for no flash and google code sniffer..

    sorry for the double post but the forum addpost erroed with a system.null convert to system.string exception.... :-(
View as RSS news feed in XML