Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User jarran's Avatar
    Join Date
    Sep 2011
    Posts
    2
    Hi board,

    I'm having trouble getting the HTML5 audio element working in a project created with the HTML5 Application -template of Qt Creator. The browser seems to support the tag, and canPlayType() reports "probably" for both "audio/mpeg" and "audio/wav", and the play() method throws no JavaScript Errors. It's just that there's no sound on the device. The sound is audible in the simulator as well, so this leads me to believe this might just be a simple case of project/environment configuration.

    Any pointers much appreciated!

    I'm using Qt 4.7.3.

  2. #2
    Registered User jarran's Avatar
    Join Date
    Sep 2011
    Posts
    2
    I've been able to work around the issue by exporting a QMediaPlayer instance to the JavaScript window object, but still, if someone figures this out I'd be very interested.

    Thanks.

Similar Threads

  1. HTML5 apps..
    By mrrekcuf in forum Nokia N9
    Replies: 4
    Last Post: 2011-09-16, 14:25
  2. html5 onclick
    By Meins in forum Qt
    Replies: 1
    Last Post: 2011-07-07, 10:22
  3. Cross-Platform and HTML5
    By mohhassan in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2011-06-16, 13:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved