lib/view_helpers.rb in framey-1.2.2 vs lib/view_helpers.rb in framey-1.2.3
- old
+ new
@@ -37,11 +37,11 @@
};
var attributes = {
'id': "#{objid}",
'name': "#{objid}"
};
- swfobject.embedSWF("/recorder.swf", "#{divid}", "340", "340", "8", "", flashvars, params, attributes);
+ swfobject.embedSWF('#{Framey::FLASH_RECORDER_URL}', "#{divid}", "340", "340", "8", "", flashvars, params, attributes);
</script>
END_RECORDER
end
@@ -85,10 +85,10 @@
var attributes = {
'id': "#{objid}",
'name': "#{objid}"
};
- swfobject.embedSWF("/player.swf", "#{divid}", '340', '290', '9', 'false', flashvars, params, attributes);
+ swfobject.embedSWF('#{Framey::FLASH_PLAYER_URL}', "#{divid}", '340', '290', '9', 'false', flashvars, params, attributes);
</script>
END_PLAYER
end
end
end
\ No newline at end of file