View Single Post
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#84
Wow, got a bit more advanced than me. I was just skimming over it and hadn't read that far through it. Had a *very* quick look through the latest Ovi Maps beta, and found an index.html. Majorly different to the one were working with. For starters it uses *.css and *.js files rather than bloating the file with a huge <style> definition. I've done this as well so I've attached a copy. Seems to work OK.

I think your on the right lines with the logic. Seems it does do more than describe the audio files.

<!-- Distance for a Command -->: From what I can make out, the logic here would help solve the current issue with waypoints right on top of each other. As both python and js can parse XML files, what would be the easiest option.

Has anyone tried the <audio> html tag? I've tried to get it to play a pre-specified file on my desktop but with no joy yet. According to www.html5test.com MicroB supports <audio> with PCM files. Does this apply to Maps as well? <embed> will probably require an extension to be loaded. Talking of which, making a xpcom library/extension for audio playback would probably solve the issue. If only js could execute shell commands...

Recently posted html.zip, all style code removed to a separate file.
Attached Files
File Type: zip html.zip (222.8 KB, 134 views)

Last edited by Android_808; 2011-01-14 at 16:52.
 

The Following 4 Users Say Thank You to Android_808 For This Useful Post: