bello! ;D
Posted 11 months ago
universalFlvPlayer is a basic flv video player written in AS3 using Flex Builder. The player is quite straightforward and can be used within any site, implementation requires no actionscript knowledge. Also adjusting the player can be done without touching the actionscript, global settings are stored in a xml file that is used onload. To adjust the player while loaded a Javascript API can be used.
Implementation and ï¬ne-tuning
Wanna make your own Javascript Controlls?
Check out this file:
In the example, in order to make it work offline, add the swf to your allowed locations list.
If you would like to compile the player from Flash in stead of Flex download the simpleVideoPlayer.fla
When you do this you wont see any video after hitting the splash image because the flv is normally provided in the Flex generated index.template. So you can either watch it from the example.html (so that it is provided with the flv source) or add an else statement at line 49 in simpleVideoPlayer.as.
That would look like this:
if (root.loaderInfo.parameters.flvSrc!=null) { CanvasManager.videoCanvas.playFlv(root.loaderInfo.parameters.flvSrc);
} else { CanvasManager.videoCanvas.playFlv("yourVideo.flv");
}
Other AS3 files by me:
Posted 11 months ago
In the example, in order to make it work, add the swf to your allowed locations list
If you would like to compile the player from Flash in stead of Flex download the simpleVideoPlayer.fla
When you do this you wont see any video after hitting the splash image because the flv is normally provided in the Flex generated index.template. So you can either watch it from the example.html (so that it is provided with the flv source) or add an else statement at line 49 in simpleVideoPlayer.as.
That would look like this:if (root.loaderInfo.parameters.flvSrc!=null) {
CanvasManager.videoCanvas.playFlv(root.loaderInfo.parameters.flvSrc);
} else {
CanvasManager.videoCanvas.playFlv("yourVideo.flv");
}
Posted 11 months ago
Hei, it is simple to install, only see the exaple.html file. It works well and it is is FINE !
Thank you
Alfonso
Posted 11 months ago
Great File! We need more great Flex/Air and AS3 Flash files on FD like this one.
Bringhurst
Posted 11 months ago
vorrei usarlo su un VIDEO importato in FLASH CS3 .
they are to the first experiences
tanks
Posted 11 months ago
Hey Shun,
This videoplayer supports flv (as displayed in example.html), not swf video. I don’t know if that is your problem, if not plz send me an email flashden[at]toybot.nl and describe your problem more detailed.
To all you guys/galls, thank you for purchasing and rating the file!
Posted 11 months ago
hi trepn, iIt is possible to do that the player begins the reprodcucción automatically on having loaded the page?
Thank you very much, i am very happy with your Universal Player
Alfonso
Posted 11 months ago
hei trepn, sorry, the answer for my cuestion it is in the documentation, for to automatic play only dont upload the splash.jpg file. OK:The documentation is very complete.
Congratulations for your videoplayer
Regards,
Alfonso
Posted 11 months ago
i had a question before i purchase this cause till no one knows what im talking about some flv player on some sites hav an advertising movie that plays(flv) before the listed movie plays (flv) . i need to know if i can place a specific movie (flv) as an advertising that will start before my persaonal video plays automatically… if so can you provide the coding , my e-mail is webmaster@bahijproductions..com or djbahij@hotmail.com… by the way i asked this question in a lot of places in FD and no one knows what im talking about or mostly they never respond..
thanks
Posted 10 months ago
trepn,
This file is certainly a great example of top-notch AS3 .
Bringhurst
Posted 10 months ago
Hello There Can You do Me a Huge favor here, I cannot seem to understand how you have compiled this in Flex, Can You send me an example flex project in a .zip? All I need is to see how You have compiled this in flex, Great work! Oh,and one more thing, How much would You charge me to setup a flash vars parameter ,so I can serve up the video via url,or post,etc. Can You please quote me on that, Thanks Brandon Web Tech Host support@webtechhost.net
Posted 10 months ago
Hi,
I am glad I found something in AS3 !
I am already working on an AS2 file and loading multiple flvs into an flv player through xml files. But I am facing the below problem.
I want to load multiple xml files into the same list (container), linked through buttons.
Each xml file has different number of flvs. Now when I load one xml file with 10 flvs and then load 5 flvs through the other list, I can still see 10 flvs in the list instead of 5 new flvs. The list retains the previous bottom 5 flvs and the replaces the top 5 with new flvs. Do you think AS3 will resolve this matter? Would you suggest that your file can be manipulated to do something like this if I buy it? I am not a developer, but do know basic AS2 and AS3 .
Any help will be appreciated.
Thanks.
Posted 9 months ago
Support this player also mp4 video? If not can you provide such one? Please let me know on email: info@conaito.de
Posted 9 months ago
Does the javascript fix the IE 6 /7 problem with active content? (like swfobject?)
Posted 9 months ago
there is a bug in the timeparsing resulting in wrong display of time. Replace the parseTime function in Controller.as with the following to fix this:
private function parseTime(rawTime:Number):String
{
var seconds:String = String(Math.round(rawTime%60));
var minutes:String = String(Math.floor((rawTime%3600)/60));
var hours:String = String(Math.floor(rawTime/3600));
if(seconds.length == 1){seconds = 0+seconds;}
if(minutes.length == 1){minutes = 0+minutes;}
if(hours.length == 1){hours = 0+hours;}
var time:String = isNaN(rawTime)?"":String(hours+":"+minutes+":"+seconds);
return time;
}
Posted 8 months ago
Hi trepn,
If I purchase, can you add a button to unload the movieclip?
Thank you
Posted 8 months ago
Sir would You mind sending me the flex project files? I simple cannot get this to work! I am an actionscript/flex savvy guy too! I tried the actionscript build bath. No Work!
please help Thx Brandon
Posted 3 months ago