Thursday 3 December 2009

Pros n cons of different flash Delivery methods

If you want to work on flash streaming are confused to select a delivery method go through the below link.

http://www.digital-web.com/articles/efficient_video_delivery_over_the_internet/

Different Ways of delivering Video over Internet:-

HTTP Progressive Download:-
The basic way to deliver flash video over internet efficient for short video files doesnt need any additional software or hardware support. you cannot skip a particular portion of video and skip to a new position you have to wait for the complete download. Not an efficient method to lengthy videos.

RTMP Streaming:
This is the most efficient way to provide streaming as well as live broadcast streaming and also help to deliver access controllable videos. one main advantage over progressive download is you can jump to different time frames without waiting for the previous portion to be downloaded. Server should be configured to provide streaming.

HTTP Streaming
This is a combination of the above two methodology but without any access control and is suitable for lengthy videos. Video content may be downloaded without actually being viewed, resulting in inefficient bandwidth usage. In addition, HTTP streaming is not supported by storage services only capable of serving static content

Partitioning Multiple Segments:-
The advantages of this approach are:

No special software required other than a standard web server to serve the video
It lets users jump close to any point in the video
Delivering close to only the number of bytes required for viewing the video
This approach requires video to be partitioned into multiple segments for a particular time interval.

Making Flash Video Player Skin visible and invisible

Hi Everybody
I faced a problem when I got a project to show and hide skin of a flash video player on roll over and roll out. I was not able to use th roll over and roll out events because the video player size is exactly same as the stage size. The help I found online dint helped me much. So I used the MouseEvent.MOUSE_MOVE event to show the skin and Event.MOUSE_LEAVE to hide the skin. After several trial and errors and several research I found a feasible solution for this yet it throws some Warning(not an error) rarely but it works properly.

Cheers
Harish..

Code :
stage.addEventListener(Event.MOUSE_LEAVE,skinHide);
stage.addEventListener(MouseEvent.MOUSE_MOVE,skinShow);

function skinShow(evt:MouseEvent):void {
this.flvVidPlayer.skin = skinURL ;
}
function skinHide(evt:Event):void {

try {
this. flvVidPlayer.skin =null;
this. flvVidPlayer.skinAutoHide = false
} catch (e:Error) {
trace("my error"+e);
}
}

Other Search terms:
Actionscript 3 skin flvplayer visible invisible
flash video player show hide bug error
Error #2044: Unhandled skinError:
fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/