|
-
[Horse Thief]
[F8],[AS2] FLV is fully loading before playing
Greetings All,
I'm using :
Code:
var MC:MovieClip = createEmptyMovieClip('MC',10);
var vp2:FLVPlayback = FLVPlayback(MC.attachMovie("FLVPlayback", "vp2", 0));
plus some other code for controls, etc. Everything works fine, except the problem is that when viewed online , Flash waits to load the entire video before playing it. I have another video player elsewhere on the site that is just an FLVPlayBack Component in a movie clip (which is why I'm trying this "new" way of dynamically attaching the FLVPlayBack because I don't like things on my TimeLine [including nested timelines in dynamically-attached clips]), but that one streams fine, plays right away.
I threw a dynamic text field on the stage & metered the vp2.bytesLoaded, & watched it fully load before playing...
How do I make it start playing before it's fully-loaded?
Where's the Streaming=true, or the dammitStartRightNow()?!?
Thanks
1 Infinite Loop, Cupertino is a portal of Hell.
-
Is there not a BufferTime variable or something like that??
-
Is there not a BufferTime variable or something like that??
-
[Horse Thief]
yeah, I tried the bufferTime thing but it didn't change anything - from what I read, bufferTime just makes the video wait until a specified number of seconds of the video have been loaded (correct me if I'm wrong ), but my problem is already that the whole thing needs to load, so by default it waits all seconds.
Here's a better view of the situation :
There's a small picture frame on a table with a video playing inside it. When a user clicks on the picture frame the small video stops playing, the whole screen darkens a bit, & a larger version of the video is displayed (think "LightBox"). The problem is that the larger video must completely load before it starts playing (I did the bytesLoaded in a text field & it counted up to the file size then immediately played). Is this a conflict between the 2 videos? The first small video plays fine, no waiting.
This is driving me crazy...
1 Infinite Loop, Cupertino is a portal of Hell.
-
If you know the length of the video can you not set the bufferTime to the complete duration in seconds?
If not, maybe this may help.....
http://livedocs.adobe.com/flash/8/ma...=00001573.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|