Music Looping broken?

Bugs will be moved here once resolved.

Post » Thu Oct 20, 2011 4:14 pm

Hey i've been trying to get music in a loop to work but somehow it won't :(

i've imported the music as a .wav and added an audio thingy to my project.

i then created these events:

on start of layout -> audio play neon theme (my track)
                      audio set "" looping


this should theoretically be enough but even when i use a tag for my music file it won't work...


here's my test .capx:
http://dl.dropbox.com/u/45711709/musicTest.capx
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Thu Oct 20, 2011 4:51 pm

Which browser are you using? Not all browsers support looping. Does it work in any other browsers?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Oct 20, 2011 6:12 pm

Well i only have the latest Firefox installed...

Pretty lame if a simple thing like a music loop doesn't work in every browser :(

The Audio-object doesn't even have events so i could manually check via events if the track has finished playing :/

EDIT:

Well "fixed" it myself through events but i still think the audio object should handle this like in CC

Here's my fixed capx:

http://dl.dropbox.com/u/45711709/musicFixed.capxIze2011-10-20 18:45:37
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Sat Jan 28, 2012 12:47 am

Ize,

I am trying to loop music as well and having trouble, the cap file you linked is no longer posted, so could you let me know how you got it to work?
B
4
Posts: 2
Reputation: 530

Post » Sat Jan 28, 2012 1:24 am

This method for looping sounds works, dont know about music though?

(my sound is 4 second's long)
I have never used music, but it can't be that different?
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Fri Mar 09, 2012 4:40 pm

Same problem here but only in Firefox, looping works perfectly in Chrome and IE 9
B
6
S
1
Posts: 29
Reputation: 1,058

Post » Fri Mar 09, 2012 7:17 pm

@qster: Firefox 11 supports looping, out in a few weeks.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Mar 17, 2012 1:55 pm

Cool topic. It Solves my problems ^^
B
15
S
5
G
1
Posts: 40
Reputation: 2,026


Return to Closed bugs

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests