February 13, 2012

serpulga serpulga
Lab Rat
27 posts

QtWebkit doesn’t support HTML5 audio?

 

Hello,

I’m developing a QtWebkit application. First, I was compiling using Mingw but
I had to migrate to Qt VS version.
When I debugged the Mingw compiled app, it loaded phonon backend dlls, now that
I’m compiling using the VS compiler, I don’t see any phonon backends dlls being loaded.

and when I open up this site:

http://forestmist.org/2010/04/html5-audio-loops/

Using the QtWebkit app, the audio players doesn’t even show up.

Could it be that my Qt VS compilation (that I downloaded from the Qt downloads site) was
built without phonon?

Has anyone been able to enable HTML5 audio at all?

Thanks for your help,

Sergio

4 replies

February 13, 2012

Jake007 Jake007
Robot Herder
248 posts

Qt WebKit doesn’t support audio tags.
I tried w3 audio example in qwebview widget, and the output is:
“ Your browser does not support the audio element.”

 Signature 

——————————————-
Code is poetry

February 14, 2012

hellagot hellagot
Lab Rat
7 posts

WebKit does, but for some reason it doesn’t work on windows, maybe on the next update

February 14, 2012

serpulga serpulga
Lab Rat
27 posts
hellagot wrote:
WebKit does, but for some reason it doesn’t work on windows, maybe on the next update
Jake007 wrote:
Qt WebKit doesn’t support audio tags. I tried w3 audio example in qwebview widget, and the output is: “ Your browser does not support the audio element.”

Thank you guys for your replies.
It’s really a bummer that such basic HTML5 functionality is not supported in some cases.

March 26, 2012

xulinguestc xulinguestc
Lab Rat
5 posts

it is amazing that qt webkit doesn’t support video/audio tag!!!

 
  ‹‹ [Solved] QWebView 64bit javascript problem      How can i reimplement the shouldInterruptJavaScript() in Qt (C++)? ››

You must log in to post a reply. Not a member yet? Register here!