Flash FLV Video Player Pro
|
|
|
|
| FlashStore rating: |
|
| User rating: |
Not rated yet.
|
| Date: |
10-05-07 |
| Submited by: |
jumpeye |
| Skill: |
intermediate |
| Price: |
$ 49.99 |
|
|
| |
About |
The Flash FLV Video Player Pro component was especially designed to play your flv files in streaming. With three included flash implementations, this video player can be easy included in your projects adding elegance and taste to them.
Flash FLV Video Player Pro component is a lightweight streaming video player, with an optional scrolling playlist and playback controls that you can access and edit right from your flash IDE. It has the ability to scale or resize the movies.
We recommend that one of the 3 implementations should be used, since we had complains that is hard to customize the flash files, since they are non-documentated.
The 3 .fla implementations provided are not included in the component, they are given separately, the component itself consists of a player display with methods and parameters.
Compatibility:
Flash 8 published for Flash Player 8+ |
UI Access |
| UI Pro Components jumpEYE |
Support address |
|
|
Useful links |
|
Download documentation |
|
Flash FLV Video Player Pro documentation (48.2 KB)
|
Code samples |
Properties
autoStart(default=true) if true, the player starts playing the selected track when the page containing the player loads;
bufferSeconds(default=3) the number of seconds to buffer before beginning playback;
contentPath(default=) if you use the player to play just one video, set the path to it here;
controlsInstanceName(default=videoPlayerControls) the name of the movieClip on the stage containing the controls for the player. If you run multiple instances of the player, you can define different controls movieClips;
playlistInstanceName(default=videoPlayerPlaylist) the name of the movieClip on the stage containing the playlist for the player. If you run multiple instances of the player, you can define different playlist movieClips;
scale(default=noScale) default the movies dimensions are not altered; scale the movie is scaled proportional to fit the boundaries of the component; resize the movie is resized to the dimensions of the component;
startVideo(default=0) the first video from the playlist to be played;
startVolume(default=75) the start volume of the player;
xmlPath(default=) if you want to use the player with a playlist, set the path to the xml here;
Methods
setVideoFromPlaylist (video:Number) plays the video video from the playlist;
setVolumeLevel (level:Number) sets the volume to level;
setSeek (percent:Number) seeks the video to percent;
pressPlayPause() toggles play/pause;
Events
onComplete returns an object with the Boolean property videoComplete, that is true when a video has ended;
onStartPlay returns an object with videoStart property, that is true when the video has started playing;
onBufferFull returns an object with the property bufferFull, that is true when the buffer is full;
onXmlPlaylist returns an object with the property xmlLoaded, that is true when the xml file containing the playlist has loded;
onMetaDataInfo returns an object with the properties videoDuration, videoWidth, videoHeight, as soon as this info is available;
onProgress returns an object with the property progressTime, the time in seconds the video has played;
onLoadProgress returns an object with the property loadProgress, the percent the movie has loaded;
Code examples
//(the instance name of the component on the stage is vp)
var myListnerObj:Object = new Object();
myListnerObj.onComplete = function(evtObj) {
trace("Video complete: "+evtObj.videoComplete);
};
myListnerObj.onStartPlay = function(evtObj) {
trace("Video start: "+evtObj.videoStart);
};
myListnerObj.onBufferFull = function(evtObj) {
trace("Buffer full: "+evtObj.bufferFull);
};
myListnerObj.onXmlPlaylist = function(evtObj) {
trace("XML loaded: "+evtObj.xmlLoaded);
};
myListnerObj.onMetaDataInfo = function(evtObj) {
trace("The Video's duration: "+evtObj.videoDuration);
trace("The Video's width: "+evtObj.videoWidth);
trace("The Video's height: "+evtObj.videoHeight);
};
myListnerObj.onProgress = function(evtObj) {
trace("Time played: "+evtObj.progressTime);
};
myListnerObj.onLoadProgress = function(evtObj) {
trace("Percent loaded: "+evtObj.loadProgress);
};
vp.addEventListener("onComplete", myListnerObj);
vp.addEventListener("onStartPlay", myListnerObj);
vp.addEventListener("onBufferFull", myListnerObj);
vp.addEventListener("onXmlPlaylist", myListnerObj);
vp.addEventListener("onMetaDataInfo", myListnerObj);
vp.addEventListener("onProgress", myListnerObj);
vp.addEventListener("onLoadProgress", myListnerObj); |
Features |
- Optional xml playlist
- Three default flash implementations (fla files everything can be changed, but there is no documentation provided about how to change the flash files used to demonstrate the video player)
- Streaming capability
- Resize and scale options for your video file
- Play, pause, stop, previous, next, repeat, shuffle options
|
|
|
|
|
|