Serve swfobject via the assets pipeline

This commit is contained in:
Tom Hughes 2011-10-07 19:31:30 +01:00
parent c3436ec9c4
commit 1f383dcbd7
4 changed files with 2 additions and 2 deletions

View file

View file

@ -39,7 +39,7 @@
attributes.id = "potlatch"; attributes.id = "potlatch";
attributes.bgcolor = "#FFFFFF"; attributes.bgcolor = "#FFFFFF";
swfobject.embedSWF("<%= asset_path("/potlatch/potlatch.swf") %>", "potlatch", "100%", "100%", "6","<%= asset_path("/expressInstall.swf") %>", flashvars, params, attributes); swfobject.embedSWF("<%= asset_path("/potlatch/potlatch.swf") %>", "potlatch", "100%", "100%", "6","<%= asset_path("expressInstall.swf") %>", flashvars, params, attributes);
// 700,600 for fixed size, 100%,100% for resizable // 700,600 for fixed size, 100%,100% for resizable
} }

View file

@ -57,7 +57,7 @@
attributes.id = "potlatch"; attributes.id = "potlatch";
attributes.bgcolor = "#FFFFFF"; attributes.bgcolor = "#FFFFFF";
swfobject.embedSWF("<%= asset_path("/potlatch2/potlatch2.swf") %>", "potlatch", "100%", "100%", "10.1.85","<%= asset_path("/expressInstall.swf") %>", flashvars, params, attributes); swfobject.embedSWF("<%= asset_path("/potlatch2/potlatch2.swf") %>", "potlatch", "100%", "100%", "10.1.85","<%= asset_path("expressInstall.swf") %>", flashvars, params, attributes);
// 700,600 for fixed size, 100%,100% for resizable // 700,600 for fixed size, 100%,100% for resizable
} }