Hello,
I have a video upload form inside a page with another form.
I want to submit the upload form by ajax and receive the response from Bits on the Run to the same page (and put the data in the second form).
How can I use the /videos/create API call with ajax?
Thank you,
Shani
You should never perform API calls through javascript, as that way it will be easy for any user to snatch your key and secret and take over your account.
I recommend that you take a look at the source of our wordpress plugin, as in that plugin it is possible to upload a video without leaving the page: http://www.longtailvideo.com/support/bits-on-the-run/15959/using-our-wordpress-plugin