- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the use of the Audio object works in crosswalk 12 on one device is it reasonable to assume it will work on all devices (that support crosswalk 12)?
Basically I'm asking if the successful use of the Audio object is part of the Crosswalk webview? Or, is there some involvement with the device that will make this a variable success?
Thanks in advance for any clues.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In general, it should work across all devices, since the identical Crosswalk runtime is being used on all devices (it is part of your app). It is possible that there is a problem on a device that would prevent the Crosswalk <audio> component from working properly. For example, there are some weird issues with the Cordova accelerometer and Android 5.1 devices, even though the devices have working accelerometers.
If you are having trouble with audio, you should investigate using some Cordova plugins. See this sample for some code: https://github.com/xmnboy/hello-cordova/ and also search for "cordova audio plugin" for other alternatives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Paul,
Thanks for the confirmation. Appreciate the link to the xmnboy/hello-cordova. I will use that to compare to my alternate sound library.
The project I am working on now is the only one that uses the Audio object. It's a legacy thing. Since it was working I figured I would go with it provided my suspicion about crosswalk was correct.
I figure Android upgrades will eventually break anything I have in the app store. Seems to be the way of it these days.
In the mean time I can use the working code base and just go with it.
Gotta love Crosswalk.
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page