Jump to content
Search Community

kenny

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by kenny

  1. Another issue, the scaleMode of the video looks different from the older version of the VideoLoader class I was using. The 'proportionalInside' scaleMode looks like its stretching the video.

     

    Is there any issues with the scaleMode of newest version of the VideoLoader class?

  2. I downloaded the latest version. Its working :) Thanks.

     

    btw. This problem seems to occurs when you use the NetStatusEvent.NET_STATUS too, but I guess i'll use the videoBufferEmpty and videoBufferFull listeners instead.

    It seems that the netstream buffer get emptied before the video stops.

     

    vid.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
    
    function onNetStatus(e:LoaderEvent):void{
    
    switch(e.data.code){
    	case "NetStream.Play.Stop":
    		bufferAnim.visible = false;
    	break;
    
    	case "NetStream.Buffer.Full":
    		bufferAnim.visible = false;
    	break;
    
    	case "NetStream.Buffer.Empty":
    		bufferAnim.visible = true;
    	break;
    }
    }

  3. I am using the VideoLoader to create a simple video player. I have added a videoBufferEmpty and a videoBufferFull event listener to display a buffer animation when a video is buffering. However, when the video finishes playing I see the buffer animation come on for 1 second then disappear.

     

    Is there a bug on the videoBufferEmpty that set the buffer to empty when the videoComplete function is called?

×
×
  • Create New...