I'm using a form as described here to upload a file to a Youtube account. Like this:
<form action="<?=$YTurl ?>?nexturl=http://localhost/update-video.php" method="post" enctype="multipart/form-data">
<input id="file" type="file" name="file"/>
<input type="hidden" name="token" value="<?=$YTtoken ?>"/>
<input type="hidden" name="test" value="testvalue1234"/>
<input type="submit" value="go" />
</form>
But I'm planning to have more fields on the form and since the action is set to YouTube's server I can't process the remaining fields. Does anyone has a workaround for this? I'd expect YT to let me add custom parameters and kindly posting them back to me on the callback specified with nexturl.
Thanks in advance!