Need Help - Playing FLV Files from VB.NET

Joined
May 14, 2007
Messages
2
Programming Experience
10+
Hello,

I am developing a VB.NET Windows application that plays SWF and FLV files in popup windows.

The user presses a button on the main application form, a window pops up, and the Flash media will then play (in theory :D).

I was successful in getting SWF files to play. First, I added the Shockwave Flash Object AciveX control to my toolbox (VB.NET named it AxShockwaveFlash1), and then double clicked it to add it to my popup form. Then, in the startup routine for my popup, I added the following lines to play my SWF:

AxShockwaveFlash1.Movie = "path/filename.swf"
AxShockwaveFlash1.Play()

I attempted exactly the same approach using a separate form for an FLV file, this time of course setting the Movie property of the Shockwave Flash Object to "path/filename.flv". In this case, the FLV file did not play. There were no error messages, but just a popup screen with nothing on it.

Can anyone advise as to what I need to do?

Thanks!!!!
 
Hi,

Thanks for your response.

I guess I'm confused about something. I suspect, but don't know for certain, that the third party FLV players operate as wrappers around the Shockwave Flash Object control I included in my VB.NET project (Flash9b.OCX).

Is the issue that my assumption above is wrong? Or is the issue that even though the above is correct, the wrapper code requires so much complex interaction with Flash9b.OCX that nobody except an expert in the topic could handle the programming?

Since FLV's are now something of a common media format, it surprises me that there isn't a straightforward manner of calling a Macromedia/Adobe automation object and playing one.

Thanks again, Stu
 
Back
Top