Skip to content

Commit 0c2e8d8

Browse files
committed
Implement jackfreak's changes (Issue phaserjs#2234)
1 parent 83948f5 commit 0c2e8d8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/loader/Loader.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,8 +2455,8 @@ Phaser.Loader.prototype = {
24552455

24562456
if (url.uri) // {uri: .., type: ..} pair
24572457
{
2458-
url = url.uri;
24592458
videoType = url.type;
2459+
url = url.uri;
24602460
}
24612461
else
24622462
{
@@ -2478,7 +2478,7 @@ Phaser.Loader.prototype = {
24782478

24792479
if (this.game.device.canPlayVideo(videoType))
24802480
{
2481-
return urls[i];
2481+
return url;
24822482
}
24832483
}
24842484

@@ -2510,8 +2510,8 @@ Phaser.Loader.prototype = {
25102510

25112511
if (url.uri) // {uri: .., type: ..} pair
25122512
{
2513-
url = url.uri;
25142513
audioType = url.type;
2514+
url = url.uri;
25152515
}
25162516
else
25172517
{
@@ -2533,7 +2533,7 @@ Phaser.Loader.prototype = {
25332533

25342534
if (this.game.device.canPlayAudio(audioType))
25352535
{
2536-
return urls[i];
2536+
return url;
25372537
}
25382538
}
25392539

0 commit comments

Comments
 (0)