bufferTime on OSMF

Posted by Ronnie on Stack Overflow See other posts from Stack Overflow or by Ronnie
Published on 2012-05-18T20:04:41Z Indexed on 2012/06/09 4:40 UTC
Read the original article Hit count: 284

Filed under:
|
|

I am having an issue with OSMF. I have an MP4 that is 40MB. It is being progressively loaded. My issue is the video wont begin playing until the video has fully loaded. I am testing this on a web server. Any idea what's going on or what I am not doing?

var mps:MediaPlayerSprite   = new MediaPlayerSprite();
mps.x                       = 159;
mps.y                       = 53;
mps.width                   = 512;
mps.height                  = 288;
mps.resource                = new URLResource("resources/video/3.4.1.mp4"); 
addChild(mps);

I've even tried adding mps.mediaPlayer.bufferTime = 1; but no luck. I've even tried 0.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about buffering