The Easiest Way to Stream FLV Files
It’s been a while since I’ve had to post a streaming video but recently had to update a buddy’s website with his promotional video. For copyright reasons I couldn’t post it on YouTube so here’s how I did it.
I have an ooooold version of Flash (Flash MX) so I didn’t have the ability to use the FLVPlayer component or any of the other multimedia plug-ins with the newer version of Flash so here’s the step by step instructions:
- Buy Emicsoft FLV Converter: Yes buying stuff sucks, but for $29 it’s well worth it as you can convert just about anything plus it has the ability to let you grab stuff from Google video and YouTube.
- Download JW Player : Free flash video player (there’s a pro version as well). Lotsa skinning and customization options as well.
- Follow these instructions for using the JW Player (Sample code below as well)
<script type=\'text/javascript\' src=\'video/swfobject.js\'></script> <script type=\'text/javascript\'> var s1 = new SWFObject(\'video/player.swf\',\'player\',\'320\',\'280\',\'9\'); s1.addParam(\'allowfullscreen\',\'true\'); s1.addParam(\'allowscriptaccess\',\'always\'); s1.addParam(\'flashvars\',\'file=/flv/YOUR-FILE.flv\'); s1.write(\'preview\'); </script>
What a fantastic piece of news to wake up to with my morning coffee!