iPhone, JQTouch and HTML5 audio tags
Posted
by Moo
on Stack Overflow
See other posts from Stack Overflow
or by Moo
Published on 2010-04-23T10:50:25Z
Indexed on
2010/04/23
10:53 UTC
Read the original article
Hit count: 341
I am having an issue with JQTouch (latest beta) and html5 audio tags on 'sub pages' - the audio tag works before any page transitions are done, and cease to work afterward.
For example:
http://richardprice.dyndns.ws/test.html
and
http://richardprice.dyndns.ws/test2.html
are identical other than I swap the "current" class between the two divs - all the audio tags play the same mp3.
On test.html the audio tag on the initial page works, but when you switch to Page 2 the audio tag on that page does not (and sometimes results in a browser crash). Switch back to Page 1 and the audio tag on that page has ceased to work.
test2.html is the same test but with the initial pages reversed, and the same thing happens - Page 2 (now the initial page) plays the audio, Page 1 does not, and switching back to Page 2 results in the audio no longer working.
Thoughts?
© Stack Overflow or respective owner