Flash components › Flash files › Video Players
Advanced Video player
|
Posted on 2010 Jul 30 |
|
Flash components › Flash files › Video Players
|
Posted on 2010 Jul 30 |
|
Uploaded: 18 February 2009
Opens With: Flash CS3 (9+)
Files Included: FLA,SWF,HTML,PHP,HELP.TXT
Size: 29kb
Action Script: AS2
Resolution: Resizable
Documentation: good
Keywords: video, flv, youtube, embed, share, player, ratings, fullscreen, resizable, random access, random seek, pseudo-streaming, sharing service, xmoov,
Features:
- Fully resizable
- Easy customizable
- Share (External uses as embeded code)
- Startup image
- Startup commercial
- HTTP pseudo-streaming (random access to parts of the video that have not yet loaded)
- Ratings system
- View's сounter
- Auto hide controls
- Alternate video content (low/high quality)
- Fullscreen support
Video player must be run with video file id which indicate what file must be played. Example: preview.swf?video_id=1
Example of PHP Script which select video files:
<?php
if ($_GET['video_id']=="1"){
echo '
<title>The Simpsons Movie</title>
<length>62000</length>
<pre_pic>sim.jpg</pre_pic>
<rating>5</rating>
<views>117</views>
<comments>16</comments>
<hi_flv>simpsons_hi.flv</hi_flv>
<low_flv>simpsons_low.flv</low_flv>
<author>20th Century Fox</author>
<date>02.25.2008</date>
<intro>adv.flv</intro>
<id>1</id>
';
}else if($_GET['video_id']=="2"){
echo '
<title>Yes Man</title>
<length>112000</length>
<pre_pic>yes.jpg</pre_pic>
<rating>3.5</rating>
<views>56</views>
<comments>45</comments>
<hi_flv>yesman_hi.flv</hi_flv>
<low_flv>yesman_low.flv</low_flv>
<author>Warner Bros. Pictures</author>
<date>02.16.2008</date>
<intro></intro>
<id>2</id>
';
}
?>
<title>The Simpsons Movie</title> //Clip title
<length>62000</length> //Clip length in milliseconds
<pre_pic>sim.jpg</pre_pic> //Start image
<rating>5</rating> //Rating value //1-5
<views>117</views> //Views value //0>
<comments>16</comments> //Comments value //0>
<hi_flv>simpsons_hi.flv</hi_flv> //High quality clip file
<low_flv>simpsons_low.flv</low_flv> //Low quality clip file
<author>20th Century Fox</author> //Author
<date>02.25.2008</date> //Clip Date
<intro>adv.flv</intro> //Commercial clip //if empty main clip will start immediately
<id>1</id> //Clip ID
All PHP scripts which needs for run video player and save rating and views statistic include in ZIP archive.
note: HTTP pseudo-streaming uses script from http://xmoov.com/xmoov-php/