cloudbearings / ez-access-web

Automatically exported from code.google.com/p/ez-access-web
0 stars 0 forks source link

Page loading sound effect #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When the user presses EZ Action/Enter, Back, or Next and it causes a page load, 
then a page changing sound effect should be played: pagechange.wav. This will 
often happen with <a href> but may also frequently happen with <button>s like 
in the fare machine demo.

Note, this page turn sound effect should not be played when a user *touches* a 
link, button, etc. It should also not be played with AJAX or page refreshes 
that are not requested by the user.

Original issue reported on code.google.com by jbjor...@gmail.com on 3 Sep 2013 at 8:12

GoogleCodeExporter commented 9 years ago
This cannot be done, unless you're OK with it playing after the next page has 
loaded. HTML5 audio cannot be played across page loads.

Original comment by aeharding on 12 Sep 2013 at 5:08

GoogleCodeExporter commented 9 years ago
Can you start a sound file playing on the first page and have it continue 
playing as the second page loads?

Original comment by jbjor...@gmail.com on 16 Sep 2013 at 2:53

GoogleCodeExporter commented 9 years ago
No, it's impossible, unless you use some hackish things like iframes. I guess 
*technically* you could have it play from the background page... But that would 
require moving the sfx module to the backend.

LMK if you want to try that by v1. I don't know if possible, but might be worth 
a shot.

Original comment by aeharding on 16 Sep 2013 at 8:40

GoogleCodeExporter commented 9 years ago
So not impossible ;)

Original comment by aeharding on 16 Sep 2013 at 8:40

GoogleCodeExporter commented 9 years ago
Let's do this after v1

Original comment by jbjor...@gmail.com on 17 Sep 2013 at 3:46