readium / SDKLauncher-iOS

A small iOS application to serve as a launcher/testbed for the Readium SDK.
BSD 3-Clause "New" or "Revised" License
71 stars 47 forks source link

Web Audio API issue #12

Closed gcapiel closed 9 years ago

gcapiel commented 10 years ago

It seems web audio API is supported based on tone played by this epub after speaking text: https://dl.dropboxusercontent.com/u/39156804/synthesis.epub

However, on the below epub, which works on iBooks on IO7, when you click "sonify" on the SVG graphic on page 5 does not generate a tone via Readium:

https://dl.dropboxusercontent.com/u/39156804/graph.epub

rkwright commented 9 years ago

Need to retest and see if this is still reproducible. May well be a UIWebView issue, unfortunately.

danielweck commented 9 years ago

The above DropBox links are dead. Readium does not have special treatment for Javascripts that make use of WebAudio, SpeechAPI, etc., so this is probably an issue with UIWebView (iBooks probably has access to internal / private APIs that "normal" apps cannot use). Closing.