Question

I'm looking for different solutions to playing back SWF files on Windows, OSX and Linux using Python. Ideally I'd like to embed the player inside a wxPython frame/window.

One possibility I'm investigating is the Mozilla XPCOM framework since its used by FireFox to load the Flash plugin within the browser.

Was it helpful?

OTHER TIPS

Though I don't know how to embed a browser within a wxPython window, the following code might serve in a pinch (and will work cross-platform, assuming you're working in Python 2.5 or above):

import webbrowser
webbrowser.open(your_swf_url)

It might be best to delegate this task to the browser anyway.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top