Home
About Us
Contacts
Portfolio
Faq

Player Video Gallery

Compatible: AS3, flash 9 or greater

The Crifano Flash Video Gallery component lets you load illimitated videos by xml file.
You can use it for a single video, without thumbs or for multiple videos with thumbs horizontals or verticals.
You can easily personalize the look an feel of each elements.
You can decide the position of thumbs relative to the player area.
You can decide if, at the end of a video, the player will go to next video, stop at the end or reshow the last video.
Download Demo: As3
View API
You can play FLVs and MP4, M4A, MOV, MP4V, 3GP, 3G2 if they contain H.264 video encode.

Api
The component can be used without any scripting. The code hereunder is only for advanced users that need specific actions.

gotoNextVideo
myComponent.gotoNextVideo();
This method skip the actual playing video to the next one.

replay
myComponent.replay();
This method start the playing from the beginning of actual playing video.

destroyAll
myComponent.destroyAll();
This method break the streaming and you can use to be sure to delete all the open streming.
If you remove the component from stage, but you still hear the audio, you had to use this method.

onMetaData
myComponent.addEventListener("onMetaData",onMetaReceived);
function onMetaReceived(e:Object){
    trace("metadata Events: duration=" + e.myProp.info.duration + " width=" + e.myProp.info.width + " height=" + e.myProp.info.height + " framerate=" + e.myProp.info.framerate );
}

This event is called when a video receive some metadata. Normally in this moment the player receives information about video and start playing.

onComplete
myComponent.addEventListener("onComplete",onCompleteVideo);
function onCompleteVideo(e:Object){
    trace("the video is finish");
}

This event is called when a video finish!

onStartNewVideo
myComponent.addEventListener("onStartNewVideo",onStartNewVideo);
function onStartNewVideo(e:Object){
    trace("a new video is call");
}

This event is called when a new video is called.
Normally this event is called before the onMetaData event!

Crifano © All right reserved
FaceBook     Delicious     Digg     StumbleUpon     | ALL COMPONENTS | FAQ | CONTACT |