Jump to content

Duplicated requests with load.audio in Firefox


Recommended Posts

I have a really simple preloading code with Phaser v2.1.3 ( latest atm )

BasicGame.Preloader = function () {};BasicGame.Preloader.prototype = {    preload: function () {                this.load.image('orientation', 'assets/images/orientation.jpg');        this.load.image('background1', 'assets/images/background1.png');                this.load.audio('sound_1', ['assets/audio/1.ogg','assets/audio/1.mp3']);        this.load.audio('sound_2', ['assets/audio/2.ogg','assets/audio/2.mp3']);        this.load.audio('sound_3', ['assets/audio/3.ogg','assets/audio/3.mp3']);        this.load.audio('sound_4', ['assets/audio/4.ogg','assets/audio/4.mp3']);            },    create: function () {            },    update: function () {    }};

Every audio file is requested twice but the second request is aborted. Check out the attached firebug screenshot:




Anyone else noticed this strange behavior with Firefox 33.0.1 ?


Update: this is not happens in Phaser v2.0.7 with the same code. Maybe its a phaser bug?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...