Wednesday, January 18, 2012

[YouTube-API] Re: I dont know but i think there is sommething wrong in google example code

Hello,

Thanks, we'll get that fixed.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Jan 14, 5:51 pm, noob tester <noobteste...@gmail.com> wrote:
> in this pagehttp://code.google.com/apis/youtube/2.0/developers_guide_protocol.htm...
>
> the code for the step 3 is
>
>
>
>
>
>
>
>
>
> > <script type="text/javascript">
> >   function checkForFile() {
> >     if (document.getElementById('file').value) {
> >       return true;
> >     }
> >     document.getElementById('errMsg').style.display = '';
> >     return false;
> >   }
> > </script>
>
> > <form action="*URL*?nexturl=http%3A%2F%2Fwww.example.commethod="post"
> >   enctype="multipart/form-data" onsubmit="return checkForFile();">
> >   <input id="file" type="file" name="file"/>
> >   <div id="errMsg" style="display:none;color:red">
> >     You need to specify a file.
> >   </div>
> >   <input type="hidden" name="token" value="*TOKEN*"/>
> >   <input type="submit" value="go" />
> > </form>
>
> there is a "  missing  in this part
> <form action="*URL*?nexturl=http%3A%2F%2Fwww.example.commethod="post"
> i think it shoud be
> <form action="*URL*?nexturl=http%3A%2F%2Fwww.example.com" method="post"

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment