In your case, you'd need to temporarily upload the file to your server. As I said, I don't know if it's worth it. :)
On Tue, Apr 19, 2011 at 3:55 AM, Pavol Zibrita <[email protected]> wrote: > Will it work? I mean, the submitting should upload a file from the client, > which I don't want > to upload to my server, but to youtube. Therefor it is called browser-based > upload. > I would rather need to do some redirect, that would redirect the browser to > youtube with aditional > parameters. Is that possible? > > Or you suggest to create a separate form? > > Thanx > > On Tue, Apr 19, 2011 at 9:43 AM, James Carman > <[email protected]>wrote: > >> Perhaps you can submit the form yourself using something like Apache >> HttpClient? I don't know if it's worth it or not, but if you really >> want to manage your form using Wicket, then you can submit your form >> to your Wicket code and once you have the information gathered, you >> then manually submit the information to YouTube behind the scenes. >> >> On Tue, Apr 19, 2011 at 3:39 AM, Pavol Zibrita <[email protected]> >> wrote: >> > Hi! >> > >> > Well I know how to do it, I just don't know how to do it in wicket... >> > >> > in ytd a form is created, where target url is the url to youtube site, >> going >> > as POST with some aditional parameters. >> > No, with that I have problem in wicket, as I was writing. How do I create >> a >> > form where I can specify target url to be going, and return url where the >> > youtube should sent the response to my application again. >> > >> > can anyone help me with that? >> > >> > Thanx, >> > Pavol >> > >> > On Tue, Apr 19, 2011 at 9:31 AM, James Carman < >> [email protected]>wrote: >> > >> >> Why not look at the source for YTD and see if there's anything you can >> >> "borrow" from them? >> >> >> >> On Tue, Apr 19, 2011 at 2:11 AM, Pavol Zibrita <[email protected] >> > >> >> wrote: >> >> > Hi! >> >> > >> >> > Ytd is bunch of servlets and jsp. And I want it to work in wicket. >> But I >> >> > have problems I have described. >> >> > >> >> > Thanx, >> >> > Pavol >> >> > On Apr 19, 2011 1:33 AM, "Zilvinas Vilutis" <[email protected]> >> wrote: >> >> >> I think it is YouTubeDirect that you're looking for: >> >> >> http://code.google.com/p/youtube-direct/wiki/GettingStarted >> >> >> >> >> >> Regards >> >> >> >> >> >> Žilvinas Vilutis >> >> >> >> >> >> Mobile: (+370) 652 38353 >> >> >> E-mail: [email protected] >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Apr 18, 2011 at 2:25 PM, Pavol Zibrita < >> [email protected] >> >> > >> >> > wrote: >> >> >>> Hi There! >> >> >>> >> >> >>> I'm quite new to wicket and I'm doing a web application where >> user's >> >> > can >> >> >>> upload videos to youtube. For that, there is an youtube API from >> >> google. >> >> > The >> >> >>> problem I have is that I need to use browser-based upload, which >> means, >> >> > that >> >> >>> the actual upload should go directly to youtube and not to the >> server, >> >> > where >> >> >>> my application is running. >> >> >>> And that is the point where my lack knowledge of wicket is >> stopping >> >> me. >> >> >>> >> >> >>> Basically I would like to present a user a form, where he can enter >> >> some >> >> >>> values about the video (name, category, etc), the file he wants to >> >> > upload. >> >> >>> This form should be submitted than to the youtube site with post >> method >> >> > and >> >> >>> some extra parameters. But I actually don't know how to do that. Can >> I >> >> >>> change target in standard wicket form? And if I use the form in >> popup, >> >> > how >> >> >>> will I close the popup if the form goes to youtube? >> >> >>> Has anyone experience with this? >> >> >>> >> >> >>> I don't know what else information to write here, so if anything >> more >> >> is >> >> >>> needed ask for it. I hope someone will help me. >> >> >>> >> >> >>> Thanx, >> >> >>> Pavol >> >> >>> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe, e-mail: [email protected] >> >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> > >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
