Topic: Why start upload and then the submit button?
anyone know why you have to click two buttons to complete the upload?
Is there a way to not have to click the submit button after you start the upload?
Plupload Forum → General discussion → Why start upload and then the submit button?
anyone know why you have to click two buttons to complete the upload?
Is there a way to not have to click the submit button after you start the upload?
It's just how widgets are written. If you are working directly with Core API you can do whatever you want. Inspect Documentation and Examples sections on this website. There were some helpful topics on the forum too.
There is a discussion with code examples of immediate upload in this thread:
http://www.plupload.com/punbb/viewtopic.php?id=437
And here is a very stripped down example of immediate upload here:
https://gist.github.com/815706
The example uses the html4 runtime only (it was for a bug report), but you could change it to use any/all runtimes by including the appropriate plupload runtime file and modifying the "runtimes:" setting. For example:
add:
<script type="text/javascript" src="plupload.html5.js"></script>
<script type="text/javascript" src="plupload.flash.js"></script>
.... (and whatever other runtimes you want)
likwise:
runtimes:'html5, flash, html4' , // And add any others here as well.
Plupload Forum → General discussion → Why start upload and then the submit button?
You are not logged in. Please login or register.
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_repository official extension is installed. Copyright © 2003–2009 PunBB.
Generated in 0.097 seconds (89% PHP - 11% DB) with 10 queries