schweini has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way to play a .avi file inside a Tk application?
If at all possible, it should be able to run under win32 and linux, but if that's simply impossible, that's okay, too.

thanks,

M.

Replies are listed 'Best First'.
Re: playing videos in Tk
by choocroot (Friar) on Sep 16, 2002 at 08:12 UTC
    On Linux, I guess you could create a Tk window, get the window id, then use mplayer with the -wid <window id> option to tell mplayer to display the video in your window.
    But for Windows, I have no clue. Perhaps there is similar mechanisms to specify the ouput window for the WindowsMediaPlayer ?

    Just my 0.02 € ...