Created
March 6, 2012 14:57
-
-
Save jwrubel/1986681 to your computer and use it in GitHub Desktop.
swf_tag syntax in slim (should work for haml too)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= swf_tag "name_of_swf", \ | |
options={:dom_id => "dom_element", \ | |
:size => "320x240", :version => "10.1", \ | |
:flashvars => {"a" => "test"}, \ | |
:params => {"menu" => "false", "wmode" => "direct"}, \ | |
:attributes => { "align" => "left", "class" => "flash_css_class" }} | |
div(id="dom_element") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any suggestions on what that width and height should be?