mp3 player over kml

34 views
Skip to first unread message

marco frattallone

unread,
Sep 28, 2007, 12:51:42 PM9/28/07
to KML Developer Support - Third Party Applications
I want to insert a flash mp3 player into an overlay.

I succeeded with a custom script e.g.: http://www.mamarce.com/test/index.html

I didn't succeed with a kml file e.g.: http://www.mamarce.com/test/test.kml

Is it possible to get the result I had with the custom script
throughout a kml file?

I read something about "Sample Use of Video within the
Balloon" (http://code.google.com/apis/kml/documentation/
kml_tags_beta1.html) but it works only in googleEath and with youtube/
googlevideo.

ManoM

unread,
Sep 28, 2007, 1:31:17 PM9/28/07
to KML Developer Support - Third Party Applications
Hi Marco,

I assume you're talking about using it in Google Earth 4.2. You
wouldn't be able to put it in an overlay directly, but you could put
it in the description Balloon.
I just got this to work:
<description>
<![CDATA[
<p>some text</p><object height="175" width="212">
<param value="http://www.jeroenwijering.com/embed/
mediaplayer.swf" name="movie">
<param value="transparent" name="wmode">
<embed wmode="transparent" type="application/x-shockwave-flash"
src="http://www.jeroenwijering.com/embed/mediaplayer.swf"
flashvars="&file=http://www.jeroenwijering.com/upload/
peterjones_sunshine_lofi.mp3&height=20&width=320" width="320"
height="20"/></object>
]]>
</description>

It does only work on Windows.

ManoM

marco frattallone

unread,
Sep 29, 2007, 10:53:25 AM9/29/07
to KML Developer Support - Third Party Applications
Thank you very much, the example now works perfectly in Google Earth.
My wish is to make it works with google Maps API and Google Maplets
taking data from a kml file.

Reply all
Reply to author
Forward
0 new messages