View Single Post
  #1   Spotlight this post!  
Unread 17-02-2009, 11:07
kiruch kiruch is offline
Registered User
no team
 
Join Date: Feb 2009
Location: Russia
Posts: 1
kiruch is an unknown quantity at this point
Question SWF files in Delphi. (looking for a universal solution)

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...