Created
September 23, 2010 03:27
-
-
Save devonharless/593033 to your computer and use it in GitHub Desktop.
This file contains 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
var attachment = <%= | |
{:name => 'Look at me Villainized!', | |
:href => url_for(''), | |
:description => "How about you try villainizing yourself in time for Halloween?", | |
:media => [{:type => 'flash', | |
:swfsrc => url_for("swf/StreamPlayer.swf?background_num=#{Rack::Utils.escape @entry.background_number }&villain_num=#{Rack::Utils.escape @entry.villain_number }&upload_photo_url=#{Rack::Utils.escape @entry.entry_preview.amazon_public_url(:main) }&#{Rack::Utils.escape @entry.flash_data}", :skip_facebook => true), | |
:imgsrc => @entry.entry_preview.amazon_public_url(:main), | |
:expanded_width => '460', | |
:expanded_height => '460'}] | |
}.to_json | |
%>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment