Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-25 Thread Micky Hulse
Hi Barry, On Thu, Sep 22, 2011 at 5:34 PM, Barry Hunter barrybhun...@gmail.com wrote: Instead can define a callback, see usage 2 here: http://code.google.com/p/geoxml3/wiki/Usage And then have you code also setup some click handlers on the created placemarks. Slightly different usage, but

[Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread mhulse
Hello, Here's a snippet from my KML file: https://gist.github.com/1235806 Using firebug, it looks like the HTML5 audio tags are completely stripped from the bubble. Is there a way to make this work? Are certain tags not allowed within the CDATA block of an information window/bubble? I can

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Micky Hulse
On Thu, Sep 22, 2011 at 12:44 PM, mhulse rgmi...@gmail.com wrote: Here's a snippet from my KML file: https://gist.github.com/1235806 I have added the generated HTML source code: https://gist.github.com/1235806#file_output.html Any thoughts? Thank you! Cheers, Micky -- You received this

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Barry Hunter
Not using kmlLayer (or the old GGeoXml), no. They strip allowed lots of content. Mainly to make it harder for malicious users to insert code into the main Google maps site, or even your site (if you allow users to paste a url of a KML file) ... but if you trust the KML author (yourself!) and

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Micky Hulse
Hi Barry! Thanks so much for your reply, I really appreciate all of the help! :) On Thu, Sep 22, 2011 at 1:00 PM, Barry Hunter barrybhun...@gmail.com wrote: which takes the raw kml description and renders it in a infowindow manually. In that way should be able to display any HTML the users

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Barry Hunter
Unfortunately, the kml description was not the raw version; the audio tag html was not included. :( Oh. Sorry. Its been a while since I tried, was sure the description was the raw unmodified version http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlFeatureData and

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Micky Hulse
On Thu, Sep 22, 2011 at 1:34 PM, Barry Hunter barrybhun...@gmail.com wrote: Oh. Sorry. Absolutely no worries at all! You have been very helpful! I can't thank you enough. :) and infoWindowHtml was the 'scrubbed' version. Maybe that's changed now :( [Or my memory is failing!] From what I have

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Barry Hunter
The only one I know about http://code.google.com/p/geoxml3/ But there are probably others. On Thu, Sep 22, 2011 at 9:54 PM, Micky Hulse rgmi...@gmail.com wrote: On Thu, Sep 22, 2011 at 1:34 PM, Barry Hunter barrybhun...@gmail.com wrote: Oh. Sorry. Absolutely no worries at all! You have been

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Micky Hulse
On Thu, Sep 22, 2011 at 2:50 PM, Barry Hunter barrybhun...@gmail.com wrote: The only one I know about http://code.google.com/p/geoxml3/ Cool! I will give it a test drive and let you/the gorup know how it goes. Again, thank you so much! :) -- You received this message because you are

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Micky Hulse
On Thu, Sep 22, 2011 at 2:55 PM, Micky Hulse rgmi...@gmail.com wrote: Cool! I will give it a test drive and let you/the gorup know how it goes. Cool! I think that did the trick. :) Well, I am having some issues with the HTML5 audio player now, and this stopped working:

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Barry Hunter
that click listener is implemented by kmllayer, so wont work for a geoxml3 layer. Instead can define a callback, see usage 2 here: http://code.google.com/p/geoxml3/wiki/Usage And then have you code also setup some click handlers on the created placemarks. Slightly different usage, but can do

Re: [Google Maps API v3] KML and HTML5 audio: Does it work?

2011-09-22 Thread Micky Hulse
On Thu, Sep 22, 2011 at 5:34 PM, Barry Hunter barrybhun...@gmail.com wrote: Slightly different usage, but can do the same thing. That's great news! This is exciting. I was kinda thinking that adding HTML5 audio to my info windows was going to be near impossible I can't wait for this weekend