Flash components › Flash files › Video Players
AS3 FLV/RTMP/H.264/PHP video player with Javascript API
|
Posted on 2009 Nov 09 |
Can i change the video url with javascript during play?
Is it possible to show/hide the bar with mouseover/out event?
Is it possible to show/hide the bar with mouseover/out event?















+ Clean object oriented code.
+ Dynamically resizes according to stage size.
+ Extracts aspect ratio from metadata.
+ Plays any type of flv or flv stream out there.
+ Has Javascript API for additional functionality.
Flashvars:
video :: The flv file path
For example: "http://www.yousite.com/videos/video.flv" or "videos/video.flv" or "video" (if its an rtmp file)
streamer :: If playing RTMP or PHP streaming file - set this variable to the rtmp/php server
For example: rtmp://www.yoursite.com/rtmpstreamer or http://www.yoursite/phpstreamer.php
rewind :: true = at the end video goes back to 0. false = at the end video stays put
autoplay :: true = begins to play video automatically. false = begins in stop mode
color :: color of the button icons. time bar and text and loader animation
Javascript API:
PlayVideo :: plays current video
PauseVideo :: pauses current video
GetVideoTime :: returns current time in seconds
SeekVideo :: seeks to a specified second in the video
GetVolumeLevel :: returns current volume level (0-100)
SetVolumeLevel :: sets to a specified volume level (0-100)