Problems regarding in playing audio background


  • I know some of you are growing tired of answering this question, but I will ask it anyway :

    I'm using a Javascript Windows 8 App, and I used the <audio> tag of HTML5.

    I've read instructions about of how to enable the audio in background like :

    1. Setting the App Manifest - Declarations - Background Tasks into Audio and Control Channel.
    2. Putting the msAudioCategory="BackgroundCapableMedia" in <audio> tag before the source tag.
    3. and I put the Media Transfer Controls into my .js file. I replaced the "audiotag" into "mp3src" since I named my <audio> mp3src.
    4. I follow all the instruction in this link : http://msdn.microsoft.com/en-au/library/windows/apps/hh700367.aspx

    And yet nothing happened. Same as ever, every time I put the app in background, the music still fades out.

    Am I doing it wrong?

    Friday, December 28, 2012 4:43 PM