On Thu, Mar 29, 2007 at 10:24:39PM -0500, Meryl Silverburgh wrote:
> On 3/29/07, strk <address@hidden> wrote:
> >Meryl, FYI: we got passed the action order problem with youtube
> >so far. It was DOINITACTION that had to take place *before* actual
> >instantiation of the movieclip.
> >The problem now moves on.
> >
>
> strk,
> Thanks for info. I have download the latest gnash source from CVS.
> I add a print statement in NetStream.cpp play method:
>
> When I start youtube player2.swf like this:
>
> ./gui/gnash -v ~/tmp/player2.swf -P
>
video_id=O3ejlkzDCuc&l=209&t=OEgsToPDskJq4ZdnVDfSISMjH-7Rx7WG&sk=Eme9Gg0wCu2b0UDdQbjxjwC
>
> I get the NetStream:: play like this:
> NetStream::play /get_video?video_id=undefined&t=undefined
>
> Notice that 'video_id' and 't' is undefined. I expect the video_id and
> t is retrieved from the input parameters.
>
> Is there else something I am missing?
Yes, there are more parameters passed in when you go on the webpage.
Install Gnash as a plugin, go to youtube.com, select a movie and see in
your gnash-dbg.log file what's the actual call being made.
Some of the params are passed in as a query string.