Never mind. After pulling in the FLVPlayback component and replacing the
existing component in my fla, it started working..... I guess I forgot
to do this after installing the Flash Update. That would explain why the
first example worked fine - new fla.

> _____________________________________________
> From:         Biehn, Matthew P. 
> Sent: Wednesday, May 07, 2008 3:34 PM
> To:   'flashcoders@chattyfig.figleaf.com'
> Subject:      Set FLVPlayback source property via html query parameter
> for H.264 not working
>
> Hello,
>
> I'm having an issue working with H.264 videos and the FLVPlayback
> component.
>
> Set the source FLVPlayback component via ActionScript like the
> following is working great.
>
> flv.play("sample.m4v");
>
> However, if I try to set the source of the FLVPlayback component via
> ActionScript with a query parameter, I get a connection error. Same
> video, same path, tried both relative and absolute paths.
>
>
> // get query parameters
> var o:Object = l.parameters;          
>       
> for (var prop in o) {
>       switch (prop){
>               case VIDEO_PATH:
>                       videoPath=String(o[prop]);
>                       break;
>               ....// I have multiple parameters I'm passing in
>               ...
>       }
> }
>
> debug(videpPath); //outputs sample.m4v
>
> try {
>       flv.play(videoPath);
> } catch (e:Error){
>       debug(e); //no error is thrown for some reason
> }
>
> Anybody have any idea why it works in the first example, but the
> second example doesn't work? The second example works fine when
> passing in an .flv. I'm trying to get this app to work using the H.264
> formatted videos.
>
> Thanks.
> Matthew Biehn.


This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution, displaying, copying, or 
use of this information is strictly prohibited. If you have received this 
communication in error, please inform the sender immediately and delete and 
destroy any record of this message. Thank you.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to