Your cms is stripping html comments

depending on what cms you use & how much you know of the language it is
written in you
could look at using adapting one of the following:

http://extensions.joomla.org/extensions/core-enhancements/flash-management/10664
http://typo3.org/documentation/document-library/extension-manuals/rb_flashobject/
http://wordpress.org/extend/plugins/wp-swfobject/

wordpress plugins often use shorttags that get replaced with intended code
once comments have been stripped
this requires fairly intense programming knowledge and use of regex

or you could use dynamic swfobject method

- S




On 23 March 2011 19:29, Dave <[email protected]> wrote:

> I've used swfObject in the past but have noticed recently that our
> Content Management System appears to be stripping necessary code to
> show alt content. Below is the code both before and after the CMS
> digest it upon saving. Any help would be much appreciated. This code
> works fine outside the CMS.
>
> Before:
>
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> width="175" height="100" id="radioPlayerContent">
> <param name="movie" value="http://www.uas.alaska.edu/uatv/radio/
> universalPlayerSpectrum.swf" />
> <param name="bgcolor" value="000000" />
> <param name="allowfullscreen" value="true" />
> <param name="allowscriptaccess" value="always" />
> <param name="flashvars" value="player.xml=xml/spectrumrtmp-
> small.xml&amp;data=http://www.uas.alaska.edu/uatv/radio/
> universalPlayerSpectrum.swf&amp;src=http://www.uas.alaska.edu/uatv/
> radio/universalPlayerSpectrum.swf<http://www.uas.alaska.edu/uatv/%0Aradio/universalPlayerSpectrum.swf>"
> />
> <!--[if !IE]>-->
> <object type="application/x-shockwave-flash" data="http://
> www.uas.alaska.edu/uatv/radio/universalPlayerSpectrum.swf" width="175"
> height="100">
> <param name="bgcolor" value="000000" />
> <param name="allowfullscreen" value="true" />
> <param name="allowscriptaccess" value="always" />
> <param name="flashvars" value="player.xml=xml/spectrumrtmp-
> small.xml&amp;data=http://www.uas.alaska.edu/uatv/radio/
> universalPlayerSpectrum.swf&amp;src=http://www.uas.alaska.edu/uatv/
> radio/universalPlayerSpectrum.swf<http://www.uas.alaska.edu/uatv/%0Aradio/universalPlayerSpectrum.swf>"
> />
> <!--<![endif]-->
> <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>
> <!--[if !IE]>-->
> </object>
> <!--<![endif]-->
> </object>
>
> After:
>
> <object height="100" width="175" data="http://www.uas.alaska.edu/uatv/
> radio/universalPlayerSpectrum.swf<http://www.uas.alaska.edu/uatv/%0Aradio/universalPlayerSpectrum.swf>"
> type="application/x-shockwave-
> flash" id="radioPlayerContent">
> <param name="data" value="http://www.uas.alaska.edu/uatv/radio/
> universalPlayerSpectrum.swf" />
> <param name="bgcolor" value="000000" />
> <param name="allowfullscreen" value="true" />
> <param name="allowscriptaccess" value="always" />
> <param name="flashvars" value="player.xml=xml/spectrumrtmp-
> small.xml&amp;data=http://www.uas.alaska.edu/uatv/radio/
> universalPlayerSpectrum.swf&amp;src=http://www.uas.alaska.edu/uatv/
> radio/universalPlayerSpectrum.swf<http://www.uas.alaska.edu/uatv/%0Aradio/universalPlayerSpectrum.swf>"
> />
> <param name="src" value="http://www.uas.alaska.edu/uatv/radio/
> universalPlayerSpectrum.swf" />
> </object>
> </div>
> <p>Listen to UAS Radio on KXLL, live at UAS on Sunday's from 5pm to
> 8pm. When not broadasting UATV audio will be heard.</p>
> <p>You can also listen to <a class="external" href="http://
> www.uas.alaska.edu/uatv/radio/SpectrumSwfobject.html"
> onclick="popUpWin(this.href,'standard',775,600);return false;">UAS
> Radio in a larger window</a> and leave open if you'd like, with other
> audio/video options.</p>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to