I'd meant to look into this myself, so I took the opportunity to run some quick tests. I did this with Delphi 7, though I could have tried BDS 2006.
It's possible, and the good news is that there are a number of ways. Probably more than I know, in fact. First, I'm assuming you know how to get the .FLV files. I snagged one from YouTube with keepvid.com. For playback, you could look at some commercial options. There are products from www.f-in-box.com and www.delphiflash.com that claim FLV support. You might look at those. However, I took a different approach. There are a number of open source, or at least freely available, tools that will play FLV files on a Windows box. First, I tried using the Flash ActiveX control. Imported it, set the FLV to it, and it didn't play. I wasn't surprised - I seem to recall having read that doesn't work, and that you do need to assign a .SWF file for that to work. Using a .SWF file has worked for me before. If you download and install VLCPlayer, it can render FLV among a number of other formats. Also, there's an ActiveX control that you can import in a similar manner to the Flash.ocx control. There's a page at http://wiki.videolan.org/index.php/ActiveX/Delphi that describes how to use it. I tried this and got my FLV file to play. If you find and download a DirectShow filter (codec) that can handle FLV files, you could install that and then you can play FLV files in Windows Media Player and other DirectShow-based applications. The ffdshow package has some of these filters. If you go this route, then you could get the DSPack components from www.progdigy.com and use those to play back multimedia files. I did a quick test of this, as well, specifying the FLV file, and it played back, too. I use these components for a commercial project and they work well for the WMV/AVI/MPEG files I play with them. Hope that helps a bit. I'll offer up my standard warning to all developers starting to use these third-party packages: Be sure you're clear on the legal issues surrounding your particular project. If it's experimentation and for yourself, there's probably not a lot of worry in doing things. If you're doing work for sale or even use within a company, then some of these tools are GPL, and that can have consequences for your program. Similarly, most third-party tools like the Flash.ocx control have a license agreement that spells out acceptable uses, and that can be problematic. This is lawyer stuff, but may be important if you're developing commercial software. Seek advice if you're not sure. From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kiyat Yuni Saptoko Sent: Saturday, July 28, 2007 2:28 AM To: [email protected] Subject: [delphi-en] [ASK] How To Play FLV (Flash Video) YouTube Dear All I want ask about Flash Video(FLV file). how can we play FLV file on Delphi Application? it is possible use Flash ActiveX? Shockwave Object? if possible how can do that? Thank You. [Non-text portions of this message have been removed]

