문제

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