Serve swfobject via the assets pipeline
This commit is contained in:
parent
c3436ec9c4
commit
1f383dcbd7
4 changed files with 2 additions and 2 deletions
0
public/expressInstall.swf → app/assets/swfobject/expressInstall.swf
Executable file → Normal file
0
public/expressInstall.swf → app/assets/swfobject/expressInstall.swf
Executable file → Normal file
|
@ -39,7 +39,7 @@
|
|||
attributes.id = "potlatch";
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
attributes.id = "potlatch";
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue