Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Xine or mplayer plugin
Forum Updated to NodeBB v4.3 + New Features

Xine or mplayer plugin

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 3 Posters 4.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • niqtN Offline
    niqtN Offline
    niqt
    wrote on last edited by
    #1

    Hi,
    are there xine or mplayer plugins for webkit?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thp4
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        There are also two libraries I know of that provide an embedded mplayer display in a widget.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thp4
          wrote on last edited by
          #4

          [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? :)

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved