I really need advice on how to do the following. I have tried several things and they have not worked.
I would like to upload a video to viddler using their REST API.
I wish to upload a video directly to them. However, I want to upload to them without reloading the page?
How can I do this?
- I have tried AJAX with an iFrame. However, JS does not allow you to access the response even though I have successfully uploaded file!
Thanks all
Update
Will Flash have work in this situation or will it fall to the same fate as JavaScript?
Write a server-side proxy to make the HTTP request to Viddler and interpret the response from them. Then use AJAX to call your proxy in the iFrame. Since the proxy script will reside on your server/domain, you will be able to interpret the response with Javascript.
I already answered this.