Rats, Forgot to give the FTP reference: ftp//:67.79.48.170
username: red5 password: red5 Sorry about that. Lenny On 4/9/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
Hello All, Just place a working copying copy of John Grden's Flex 2 FLVPlayer on my FTP server. look in the FLVPlayer Folder. The FLVPlayer.swf located in the bin folder should work immediately for you who want to see it within a localhost environment. A couple of things you will need to know about this example. You will need to rebuild with ANT if you want to change the localhost reference in the rtmp://localhost/oflaDemo. This url reference in located in the FLVPlayer.mxml file. This should be the only thing you should have to change before you rebuild with ANT. Also, you will need to download the free Flex2 SDK from Adobe in order to use it to build with ANT. If you don;t download Flex2 SDK, it ain't going to build!! : ) Please look in the build.properties file and change to your default folder install of Flex2. Oh Yeah, if you don't use FlashDevelop, comment out line 32 in the build.xml. : ) http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex - Download from here. The Free Flex 2 SDK download is about halfway down the page. Also, if you don't have copy of FlashDevelop, now would be a good time to download this as well. While it is not required to compile the FLVPlayer, it is a good thing to have. FlashDevelop 2.0.2 Final released<http://www.flashdevelop.org/community/viewtopic.php?t=1177> supports AS3 as well. URL for this is http://www.flashdevelop.org/community/ Last but not least you must have the minimum : ANT - I am using ANT 1.70 - http://ant.apache.org/bindownload.cgi JAVA - I am using Java 1.6 but I believe 1.5 would work just as well. The ANT build will place a new build of FLVPlayer.swf in the Bin folder so look for your new build there. Drop the new build of FLVPlayer.swf into java/Tomcat55/webapps/red5/demos (or into red5/webapps/root/demos ) if you are using Jetty. For you folks that used my Tomcat_html_files (still on the ftp server) all you have to do is take one of the html files and change it to look like the following and then save it as FLVPlayer.html. Add it to you index.html page a as menu item and your ready to give it a whirl. <html> <head> <title>FLVPlayer</title> <script type="text/javascript" src="swfobject_1.js"></script> <style type="text/css"> body { height: 100%; margin: 0; padding: 0; background-color: #869CA7; } </style> </head> <body> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="text/javascript"> var so = new SWFObject("demos/FLVPlayer.swf", "ofla", "100%", "100%", "9", "#869CA7"); so.write("flashcontent"); </script> </body> </html> Good Luck!! John Grden really did a nice job with this. Thanks again John!! Great learning tool!! Regards, Lenny
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
