Re: [Flashcoders] Querystring prevents FLV playback

2006-09-26 Thread Brian Williams

If you're using the Flash classes for playback (like the FLVPlayback class),
it actually looks at the suffix of the loaded url to determine whether it's
an FLV or xml (playlist?).  You can hack it to work by loading

video1.flv?id=26-09-2006&type=.flv

I haven't actually dug through the classes to see where this braindead code
is (it should look at the suffix before the query string).   I think you
also get a trace statement when the class realizes it has loaded something
that's not valid xml (or it may be a status callback).

--Brian


On 9/26/06, Jake Prime <[EMAIL PROTECTED]> wrote:


Hi

I have been working on a Flash website which is going through several
series of updates. To prevent caching, whenever the site is updated I
push the new date into the main flash file, and this is passed on to
all other files loaded via the querystring.

e.g:
home.swf?id=26-09-2006
data.xml?id=26-09-2006
video1.flv?id=26-09-2006

However I have just realised that if I do this to the FLV files in the
site, it prevents them from playing. Is this a bug or is this
something that you would expect to happen? Or is there in fact some
FLV feature that allows you to use the querystring for some purpose?

I had always been under the impression that any static web file would
be completely unnaffected by the presence of a querystring. At this
point my problem has been fixed, but I'm still curious as to your
thoughts.

Thanks
Jake
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Querystring prevents FLV playback

2006-09-26 Thread Jake Prime

Hi

I have been working on a Flash website which is going through several
series of updates. To prevent caching, whenever the site is updated I
push the new date into the main flash file, and this is passed on to
all other files loaded via the querystring.

e.g:
home.swf?id=26-09-2006
data.xml?id=26-09-2006
video1.flv?id=26-09-2006

However I have just realised that if I do this to the FLV files in the
site, it prevents them from playing. Is this a bug or is this
something that you would expect to happen? Or is there in fact some
FLV feature that allows you to use the querystring for some purpose?

I had always been under the impression that any static web file would
be completely unnaffected by the presence of a querystring. At this
point my problem has been fixed, but I'm still curious as to your
thoughts.

Thanks
Jake
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com