Involver Developer Network : fbmlize
This page last changed on Oct 18, 2011 by jed.wheeler@involver.com.
OverviewConverts HTML into FBML specific tags. Current version only converts <object> tags into <fb:swf> tags. Supported HTML Tags
Examples{%capture html %} <object width="420" height="245" id="msnbc2df5c2"> <param name="movie" value="http://www.msnbc.msn.com/id/32545640" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"> <param name="FlashVars" value="launch=38164843&width=420&height=245"><param name="allowScriptAccess" value="always" /> <param name="allowFullScreen" value="true" /> <param name="wmode" value="opaque" /> <embed name="msnbc2df5c2" src="http://www.msnbc.msn.com/id/32545640" width="420" height="245" FlashVars="launch=38164843&width=420&height=245" allowscriptaccess="always" allowFullScreen="true" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed> </object> {%endcapture%} {{ html | fbmlize }} The above tag will produce the following output: <fb:swf swfsrc="http://www.msnbc.msn.com/id/32545640" flashvars="launch=38164843&width=420&height=245" wmode="opaque" width="420" height="245" imgclass="fb_swf" /> FAQThere are currently no FAQ questions for this filter. Related Topics |
![]() |
Document generated by Confluence on Feb 12, 2013 09:09 |