|
From: Kevin A. <al...@se...> - 2002-02-04 18:26:50
|
> From: Simon > > Hello, > Is it possible to embed an MPEG video complete with control buttons > inside a PythonCard app? > i would very much appreciate a reply. > Thank you. > > from, Simon There is no direct support for MPEG video in PythonCard or wxPython, which PythonCard relies on. Under Windows you should be able to play MPEG video by wrapping the Windows Media Player ActiveX control or another control that handles MPEG such as the QuickTime or Real players. There are examples of using ActiveX controls in the demo.py file that ships with wxPython. Last fall I did some tests with mapping a PyGame surface to a native window in PythonCard that sort of worked, but I haven't followed up on it since then to know whether PyGame (which uses the SDL library) could be used for reliable cross-platform MPEG playback in PythonCard; there is a good chance it might work. ka |