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. Any ways for QtWebKit playing HTML5 video without installing flash player
Forum Updated to NodeBB v4.3 + New Features

Any ways for QtWebKit playing HTML5 video without installing flash player

Scheduled Pinned Locked Moved Qt WebKit
14 Posts 5 Posters 14.0k 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.
  • X Offline
    X Offline
    xulinguestc
    wrote on last edited by
    #2

    it looks like that qtwebkit cann't support video tag now ~~

    1 Reply Last reply
    0
    • I Offline
      I Offline
      iTwice
      wrote on last edited by
      #3

      I have Windows 7 Ultimate x86 and Qt 4.8.1. But it cannot play html5 video in QWebView widget. So how can I do this?

      1 Reply Last reply
      0
      • I Offline
        I Offline
        iTwice
        wrote on last edited by
        #4

        [quote author="xulinguestc" date="1332753263"]it looks like that qtwebkit cann't support video tag now ~~[/quote]

        hmm, but it must http://trac.webkit.org/wiki/QtWebKitFeatures22#WebDeveloperFeatures

        1 Reply Last reply
        0
        • G Offline
          G Offline
          guziemic
          wrote on last edited by
          #5

          As far as I know, WebKit supports video tag. In case of Linux it uses GStreamer to display video content.
          You can check if your browser supports it with
          "HTML5 Test":http://html5test.com/

          1 Reply Last reply
          0
          • I Offline
            I Offline
            iTwice
            wrote on last edited by
            #6

            [quote author="guziemic" date="1346325917"]As far as I know, WebKit supports video tag. In case of Linux it uses GStreamer to display video content.
            You can check if your browser supports it with
            "HTML5 Test":http://html5test.com/
            [/quote]

            I checked through QWebView and there isn't support in audio/video (But there is on Google Chrome which uses WebKit too). And what is it using on Windows? Maybe I need install something?

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Peppy
              wrote on last edited by
              #7

              Please wait till new version of QtWebKit module will be released, although these versions should handle HTML5 video/audio, there are some issues (I don't remember which...)...In order to really have included HTML5 video/audio try Qt 4.8.2 or Qt 5.0 Beta libraries.

              1 Reply Last reply
              0
              • I Offline
                I Offline
                iTwice
                wrote on last edited by
                #8

                I tried with Qt 5.0 beta but it's not help..

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Peppy
                  wrote on last edited by
                  #9

                  Neither Qt 5.0 beta does not handle HTML5 video/audio? That's really strange. Hmm... may it be caused by not working multimedia plugin? (I think, this makes problems)....

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    iTwice
                    wrote on last edited by
                    #10

                    [quote author="Peppy" date="1346409683"]Neither Qt 5.0 beta does not handle HTML5 video/audio? That's really strange. Hmm... may it be caused by not working multimedia plugin? (I think, this makes problems)....[/quote]

                    I think this trouble only on Windows (and maybe on Mac). One guy on irc channel answered me that "<tronical> Twice: sorry, it's not implemented on Windows :("
                    So I don't know what to do with my program which must view local html5-files.. So maybe I need to migrate from qt..

                    P.S: what multimedia plugin?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Peppy
                      wrote on last edited by
                      #11

                      Multimedia plugin handles Audio/Video, so I though, it was caused by that plugin, which does not work now.

                      And does he said something more, or not? Why it is so...

                      1 Reply Last reply
                      0
                      • I Offline
                        I Offline
                        iTwice
                        wrote on last edited by
                        #12

                        bq. "<Twice> hi, do you know why it's not implemented on Windows?
                        <tronical> it's a rather complicated piece that's simply not been written yet
                        <tronical> sadly there is no backend in webkit that can easily be re-used
                        <Twice> are you Qt developer or you know you just know it?
                        <tronical> I'm a Qt developer
                        <Twice> so I can't use Qt for building cross-platform html5-viewer?
                        <tronical> indeed, I'm afraid you can't use Qt very well for that right now
                        <Twice> and will it be in Qt 5.0 final release or you dont know?
                        <tronical> I'm pretty sure it won't be in the final Qt 5.0.0 release"

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          guziemic
                          wrote on last edited by
                          #13

                          In addition, with Qt 5 you will have possibility to use WebKit2 with has different API and different process management than already know WebKit1 with is in Qt 4.X
                          That really make things more complicated ,especially when you get used to old API that pretty well expose all WebKit elements to Qt world.

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            Peppy
                            wrote on last edited by
                            #14

                            So there you go. HTML 5 vids are not "possible" for now. Maybe using platform-depend core to play videos, just write Qt wrapper for

                            • iOS - Safari (WebKit Core)
                            • Android - Chrome (WebKit Core)
                            • Windows (Phone) - MSIE - Trident Core
                            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