Log in

View Full Version : SWF files in Delphi. (looking for a universal solution)


kiruch
17-02-2009, 11:07
So the point is, i'm writing a program that (i hope so) many people will use, so i'm making it in Delphi for Windows. On the other hand, i myself use Ubuntu most of the time, and would like my program to run via wine.

At some point, it should play a youtube video on user's choice.
I know at least two methods, one of which is to use TWebBrowser.Navigate("http://youtube/v/ViDeOiD_hERe"), and the other is to use Macromedia Flash ActiveX control for flash.

Well, both methods appear to make my application crash when i run it via wine.
I even know why: the 1st method uses the Internet Explorer engine (Windows native, obviously), and the 2nd is probably Windows-specific, too.

Is there a way to play a flash application on the form, not depending on whether it's run on Windows or via Wine?
Thanks.

P. S. I know there should be, because, for instance, a windows version of firefox plays youtube videos, when launched via wine...

JamesBrown
17-02-2009, 13:09
This is not a delphi programming forum, it is a forum for the FIRST Robotics Competition, more info can be found here:

http://www.chiefdelphi.com/forums/showthread.php?t=29944