Sha256: e5b03ce9497981999ef8019779e7ca46fd37ea2e6b8ffdf184d9320a40afe387

Contents?: true

Size: 1.61 KB

Versions: 4

Compression:

Stored size: 1.61 KB

Contents

# encoding: utf-8
DYNAMIC_RESULT = <<'EOS'
<script type="text/javascript">
//<![CDATA[
swfobject.embedSWF("/swfs/mySwf.swf","mySwf_div","456","123","7","/swfs/expressInstall.swf",{"myVar":"value 1 \u003E 2","id":"mySwf"},{"play":true},{"id":"mySwf"})
//]]>
</script><div id="mySwf_div"><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></div><script type="text/javascript">
//<![CDATA[
swfobject.addDomLoadEvent(function(){SwfFu.setup($('#mySwf')[0], SomeClass, [{"be":"good"}])})
//]]>
</script>
EOS

STATIC_RESULT = <<'EOS'
<script type="text/javascript">
//<![CDATA[
swfobject.registerObject("mySwf_container", "7", "/swfs/expressInstall.swf");
//]]>
</script><div id="mySwf_div"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="456" height="123" id="mySwf_container" class="lots">
<param name="movie" value="/swfs/mySwf.swf" />
<param name="play" value="true"/>
<param name="flashvars" value="myVar=value+1+%3E+2&id=mySwf"/>
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="/swfs/mySwf.swf" width="456" height="123" id="mySwf">
<param name="play" value="true"/>
<param name="flashvars" value="myVar=value+1+%3E+2&id=mySwf"/>
<!--<![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></div><script type="text/javascript">
//<![CDATA[
SwfFu.setup($('#mySwf')[0], SomeClass, [{"be":"good"}])
//]]>
</script>
EOS

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
swf_fu-2.0.3 test/support/fixtures/results.rb
swf_fu-2.0.2 test/support/fixtures/results.rb
swf_fu-2.0.1 test/support/fixtures/results.rb
swf_fu-2.0.0 test/support/fixtures/results.rb