moleproductions
Programmer
Hi,
I have been struggling with this issue for some time now. I have searched Google as well as this an other forums and haven't yet found a suitable solution. I know there is someone out there who can help as I have seen this hundreds of times before!
I have a page that loads an FLV video. At the moment it uses the built in FLV player component, but I could just as easily use AS3 to add the video to a video sprite.
However, what I would like to do is to show some form of loading graphic while the video is buffering - and have some control over how much of the video is buffered before it starts to play. The videos range from a few minutes to 45 minutes - so I need some flexibility.
I found this for AS2 - but I need AS3:
I've tried to use something like the following, but I no control.
Can anyone help?
Thanks.
I have been struggling with this issue for some time now. I have searched Google as well as this an other forums and haven't yet found a suitable solution. I know there is someone out there who can help as I have seen this hundreds of times before!
I have a page that loads an FLV video. At the moment it uses the built in FLV player component, but I could just as easily use AS3 to add the video to a video sprite.
However, what I would like to do is to show some form of loading graphic while the video is buffering - and have some control over how much of the video is buffered before it starts to play. The videos range from a few minutes to 45 minutes - so I need some flexibility.
I found this for AS2 - but I need AS3:
I've tried to use something like the following, but I no control.
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
videoPlayer.attachVideo(ns);
ns.play("externalVideo.flv");
Can anyone help?
Thanks.