Xine or mplayer plugin
-
Hi,
are there xine or mplayer plugins for webkit? -
Depending on what you want to do, the "Video widget example":http://doc.trolltech.com/4.7-snapshot/multimedia-videowidget.html might be a helpful starting point.
You can also achieve this by using mplayer with XEmbed and "QX11EmbedWidget":http://doc.trolltech.com/4.7/qx11embedwidget.html - you can embed a QWidget inside a QWebView using the <object> tag ("QWebPage::createPlugin":http://doc.qt.nokia.com/4.7/qwebpage.html#createPlugin).
Edit: A full example of embedding widgets inside QWebView: "Embedding Qt Widgets into QtWebKit":http://daniel-albuschat.blogspot.com/2008/12/embedding-qt-widgets-into-qtwebkit.html
-
There are also two libraries I know of that provide an embedded mplayer display in a widget.
-
[quote author="Andre" date="1291383684"]There are also two libraries I know of that provide an embedded mplayer display in a widget.[/quote]
Care to share their names of even a link, or is that a secret? :)
-
Sorry, no, is not a secret.
QMPWidget is one option, and the other is a little bit of ripping of the phonon libmplayer stuff. The basics are quite easy though. You basically pass the wID to an player process and control it using the slave interface.