Dear All,
Since I am new to QT programming i am not aware of how to play .swf files in QT widget. Please explain me with a small program so that it will be easy to understand. Any help is appreciated.
Thanks,
Ranjith
Dear All,
Since I am new to QT programming i am not aware of how to play .swf files in QT widget. Please explain me with a small program so that it will be easy to understand. Any help is appreciated.
Thanks,
Ranjith
I am sure you can find plenty of information in the Qt Multimedia examples, especially the Video Widget example.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Thanks for ur reply.. But i dont see any option for playinf .swf in those examples.. Please help..
Sorry. After investigating some more, it looks like swf is not supported by Qt. There is an old open-source project called "gameswf" that is supposed to render using OpenGL. You might be able to integrate that to play swf in a QOpenGLWidget. Find it here.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
It will depend on the multimedia framework used by Qt, e.g. platform dependent and even dependent on installed codecs.
Obviously that only works for videos, not interactive content, even if supported.
There are various flash implementations, which might or might not be integratable into an application,
Alternatively an application can theoretically provide the host side of the browser plugin interfaces used by the Adobe Flash plugin or use a web render engine that supports loading such plugins.
Since Flash is a dead technology, it is questionable if any of that effort is really worthwhile.
Cheers,
_
My googling didn't lead me to anything that suggested codecs were available. Most of what I found was web browser plugins. gameswf was the closest thing I could find to a codec and it isn't really.It will depend on the multimedia framework used by Qt, e.g. platform dependent and even dependent on installed codecs.
True.Since Flash is a dead technology, it is questionable if any of that effort is really worthwhile.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks