2 Copyright 2008-2009 University of Cambridge
3 Copyright 2008-2009 University of Toronto
4 Copyright 2008-2009 University of California, Berkeley
6 Licensed under the Educational Community License (ECL), Version 2.0 or the New
7 BSD license. You may not use this file except in compliance with one these
10 You may obtain a copy of the ECL 2.0 License and BSD License at
11 https://source.fluidproject.org/svn/LICENSE.txt
18 var demo = demo || {};
20 (function ($, fluid) {
21 demo.initUploader = function () {
22 fluid.progressiveEnhanceableUploader(".flc-uploader", ".fl-progEnhance-basic", {
25 type: "fluid.swfUploadManager",
27 // Set the uploadURL to the URL for posting files to your server.
28 uploadURL: "http://localhost/atutor155/atutor_163/mods/photo_album/albums.php",
30 // This option points to the location of the SWFUpload Flash object that ships with Fluid Infusion.
31 flashURL: "../../jscript/infusion/lib/swfupload/flash/swfupload.swf"
35 type: "fluid.swfUploadSetupDecorator",
37 // This option points to the location of the Browse Files button used with Flash 10 clients.
38 flashButtonImageURL: "../../jscript/infusion/components/uploader/images/browse.png"