Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

74 lines (69 sloc) 3.137 kb
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="css/plupload.queue.css" type="text/css" media="screen" />
<title>Tests</title>
<script type="text/javascript" src="http://www.google.com/jsapi">
</script>
<script type="text/javascript">
google.load("jquery", "1.3");
</script>
<script type="text/javascript" src="../js/gears_init.js">
</script>
<script type="text/javascript" src="http://bp.yahooapis.com/2.4.21/browserplus-min.js">
</script>
<!-- Load source versions of the plupload script files -->
<script type="text/javascript" src="../src/javascript/plupload.js">
</script>
<script type="text/javascript" src="../src/javascript/plupload.gears.js">
</script>
<script type="text/javascript" src="../src/javascript/plupload.silverlight.js">
</script>
<script type="text/javascript" src="../src/javascript/plupload.flash.js">
</script>
<script type="text/javascript" src="../src/javascript/plupload.browserplus.js">
</script>
<script type="text/javascript" src="../src/javascript/plupload.html5.js">
</script>
<script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js">
</script>
<script type="text/javascript">
$(function(){
var inline_button = new plupload.Uploader({
runtimes: 'flash,silverlight',
browse_button: document.getElementById("inline_button"),
url: 'upload.php',
flash_swf_url: '/plupload/js/plupload.flash.swf',
silverlight_xap_url: '/plupload/js/plupload.silverlight.xap'
});
inline_button.init();
var block_button = new plupload.Uploader({
runtimes: 'flash,silverlight',
browse_button: "block_button",
url: 'upload.php',
flash_swf_url: '/plupload/js/plupload.flash.swf',
silverlight_xap_url: '/plupload/js/plupload.silverlight.xap'
});
block_button.init();
});
</script>
<!-- <script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script> -->
</head>
<body>
<form method="post" action="dump.php">
<h1>Custom example</h1>
<p>
Shows you how to use the core plupload API.
</p>
<div>
<a id="inline_button" href="#">inline_button and DOMElement</a>
<br/>
<br/>
<div id="block_button">
block_button and id
</div>
</div>
</form>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.