Skip to content
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.

With GWT-voices 2.0.0, audio plays on iPad, but loops endlessly. #16

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What version of GWT are you using? 1.3.3? 1.4.61? Other?
2.0.4

What version of the gwt-voices jar file or library file are you using?
2.0.0

What operating system(s) are you using? Windows? Linux? Mac?
iOS target. WinXp build machine.

Do you have Flash installed? If so, what version does your browser show on
this page: http://www.macromedia.com/software/flash/about/
Not on the client.
Flash doesn't run on iOS.

Does the issue occur in web mode, hosted mode, both or don't know
Both

What browser(s) do you use? Firefox, IE, Safari, other?
Safari

What is the browser version (if you know) from Help->About?
The latest iPad version. There is no Help->About on Safari for the iPad.

What steps will reproduce the problem? Please attach sample code if you
can.
1. Create a GWT page with boilerplate code for adding a Sound and playing it in 
response to a button click.

2. Build and deploy to server. 

3. Navigate to the page in iPad Safari. Click the button that plays the sound. 

4. Hear the sound repeat endlessly.


What is the expected output? What do you see instead?
We would expect it to work the same as on Chrome on Windows, or Safari on Mac.

Do you have a workaround?
Not yet. Perhaps we could listen for some event, and call stop(), but we 
haven't gotten that far yet.  I am not even sure there's a good event to listen 
for yet.

Please provide any additional information below.
That pretty much sums things up.

Original issue reported on code.google.com by harry.pe...@gmail.com on 21 Sep 2010 at 3:40

@GoogleCodeExporter
Copy link
Author

Can you try the play/stop button on this page?
  http://allen-sauer.com/com.allen_sauer.gwt.voices.demo.VoicesDemo/VoicesDemo.html

Original comment by fredsa@google.com on 21 Sep 2010 at 4:14

  • Changed state: NeedInfo

@GoogleCodeExporter
Copy link
Author

I forgot to mention that our audio is MP3, which I am most interested it. I 
tried all the MP3 play buttons, and they worked the first time (mostly) without 
looping, and I was able to stop the sounds too. The problem came when I tried 
to hit play on the same sound more than once. The response then: silence. 
Sometimes, the sound failed to play the first time as well. 

Original comment by harry.pe...@gmail.com on 21 Sep 2010 at 7:03

@GoogleCodeExporter
Copy link
Author

Also, there seemed to be considerably more lag between clicking play and the 
start of the sound in Safari/iPad than in Firefox on my laptop.

Original comment by harry.pe...@gmail.com on 21 Sep 2010 at 7:08

@GoogleCodeExporter
Copy link
Author

It appears behavior may change depending on the nature of the mp3. I think the 
mp3 we are using has variable bit-rate compression.

Original comment by harry.pe...@gmail.com on 21 Sep 2010 at 8:08

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant