I am working on a Webkit based browser and created the general layout of a browser. But i want to have a native mediaplayer integrated with this browser, as webkit by default doesnot provide any. Please help me as to how i can integrate a media player with the webkit engine, so that atleast .mp4 files work. Can you please point from where i can begin as i don have any kind of knowledge in media players.

有帮助吗?

解决方案

you can use libvlc. There is a good wrapper class available on codeproject which you can directly use Here is the link http://www.codeproject.com/Articles/38952/VLCWrapper-A-Little-C-wrapper-Around-libvlc or you can directly have a look at Qt vlc port http://projects.tano.si/vlc-qt

其他提示

You can use an embedded javascript video player like one of these:

Embed one of those scripts into your application, and run the videos from within your QWebView

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top