Playing FLV files in VB .Net

To play FLV files for SWF files in a windows application  you have to:

  1. Downloaded Flash player
  2. Added Com object (Macromedia Flash Factory Object) into the VB .Net Toolbox
  3. Drag and drop Com object onto a form
  4. download JW FLV Media Player from here
  5. load the “player.swf” file and send to it the parameters like the video name, etc… here you can find the parameter list

I put the below code on the load form event as an example

Dim swftoload As String
swftoload = “c:\player.swf?file=video.flv&autostart=true&logo=logo.PNG&smoothing=true”
AxShockwaveFlash1.LoadMovie(0, swftoload)

Enjoy playing flv files within your application or create you own FLV Player

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.