upload / create button on custom form page in wordpress

No replies
Joined: 05/18/2011
Points: 6

Hey there,

I want to be able to add a button to a submit form page I created that generates a new page on submit (using TDO Mini Forms plugin). The way I figure this should work is that the button will open the API to upload or create the new video and then the embed tag is genereated and put into the content text field I have on the form.

This doesn't seem like it should be too complicated because it really just needs to do what the "Add Interactive Video" button does in the Edit Page of wordpress. Can anyone help me to do this on a submit form page that creates a new page on submit? (can you include some example code in PHP or HTML)