No Plug-in installed to view content of type application/x-player2

1,660 views
Skip to first unread message

MikeR

unread,
Aug 20, 2012, 1:36:32 PM8/20/12
to google-earth-...@googlegroups.com
Windows 7, 64 bit.  Shockwave flash and Windows Media Player work in html.  However, if embedded in a Google Earth Placemark <description>, flash works, but the Windows Media Player gives “No Plug-in installed to view content of type application/x-player2”.  Placemark balloons “Allow access to local files and personal data” has been selected.  Also tried various active-x permissions in Internet Exporer.  Have tried with Google Earth pro and a different computer.  Can't seem to find anything on the web about this.  Eventually I would like to play local .wav files with Windows Media Player.
Thank you.
html:
<?xml version="1.0" encoding="UTF-8"?>
<description>
<![CDATA[
<div>
<object id="MediaPlayer" width="580" height="360"classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"standby="Loading Windows Media Player components"
type="application/x-oleobject"codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="MMS:\\video.ntuc.org.sg\UPORTAL\Mr_Nathan's_Book_Launch.wmv" ></param>
<param name="wmode" value="transparent"></param>
<param name="WindowlessVideo" value="-1"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src ="MMS:\\video.ntuc.org.sg\UPORTAL\Mr_Nathan's_Book_Launch.wmv"
width="580" height="360" type="application/x-mplayer2" name="MediaPlayer"
allowscriptaccess="always"allowfullscreen="true" wmode="transparent" autostart="false">
</embed>
</object>
</div>
<div>
<object>
<embed wmode="transparent" type="application/x-shockwave-flash"                  
src="http://www.youtube.com/v/FICUvrVlyXc"
height="175" width="212">
</object>
</div>
]]>
</description>
 
kml:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2"
 xmlns:gx="http://www.google.com/kml/ext/2.2">

<Document>

<Placemark>
<description>
<![CDATA[
<object>
<embed wmode="transparent" type="application/x-shockwave-flash"                  
src="http://www.youtube.com/v/FICUvrVlyXc"
height="175" width="212">
</object>
]]>
</description>
<name>youtube</name>
      <Point>
        <altitudeMode>clampToGround</altitudeMode>
        <coordinates>-77.23,38.731</coordinates>
      </Point>
  </Placemark>
 

<Placemark>
<description>
<![CDATA[
<div>
<object id="MediaPlayer" width="580" height="360"classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"standby="Loading Windows Media Player components"
type="application/x-oleobject"codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="MMS:\\video.ntuc.org.sg\UPORTAL\Mr_Nathan's_Book_Launch.wmv" ></param>
<param name="wmode" value="transparent"></param>
<param name="WindowlessVideo" value="-1"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src ="MMS:\\video.ntuc.org.sg\UPORTAL\Mr_Nathan's_Book_Launch.wmv"
width="580" height="360" type="application/x-mplayer2" name="MediaPlayer"
allowscriptaccess="always"allowfullscreen="true" wmode="transparent" autostart="false">
</embed>
</object>
</div>
]]>
</description>
<name>Media Player</name>
      <Point>
        <altitudeMode>clampToGround</altitudeMode>
        <coordinates>-77.26,38.731</coordinates>
      </Point>
  </Placemark>

</Document>
</kml>

MikeR

unread,
Aug 22, 2012, 11:48:13 AM8/22/12
to google-earth-...@googlegroups.com

Update:

This has been one of my most frustrating experiences in 30+ years of software development!  It looks to me like a case of Google and Microsoft not playing nice together.  I have a bit of a work around, but I might be guilty of software malpractice.  Google Earth pretends not to know what to do with wav or mp3 files.  However, it will play an swf…. in the Windows Media Player!!!  At this point, I can make it work if I convert my wav files to swf…

 

<description>

<br/>

<![CDATA[

<a href="http://www.youtube.com/v/FICUvrVlyXc" >youtube vidio</a> <!-- works -->

<br/>

<a href="thepng.png" >Show png</a> <!-- works -->

<br/>

<a href="thewav.wav" >Play wav</a> <!-- doesn't work -->

<br/>

<a href="themp3.mp3" >Play mp3</a> <!-- doesn't work -->

<br/>

<a href="theswf.swf" >Play swf</a> <!—works… brings up Window Media Player!??-->

]]>

</description>

 

 

Selecting the swf will appear to open a web page and display:

"Frame load interrupted by policy change".  The player still loads and plays the content.  Selecting Google Earth "Tools" "Options" "General" "Show web results in external browser” will keep the web page/error from displaying.

MikeR

unread,
Sep 5, 2012, 9:26:41 AM9/5/12
to google-earth-...@googlegroups.com
 

I can finally play wav files!  Install Windows Media Player Firefox plugin!!!!

<description>
<![CDATA[
<OBJECT id="MediaPlayer1" width="100" height="100"
      classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
      codebase="
http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
      standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
      <PARAM NAME="FileName" VALUE="
file:///c:/yourpath/thewav.wav">
      <PARAM NAME="animationatStart" VALUE="true">
      <PARAM NAME="transparentatStart" VALUE="true">
      <PARAM NAME="autoStart" VALUE="true">
      <PARAM NAME="showControls" VALUE="true">
      <PARAM NAME="loop" VALUE="true">
      <EMBED type="application/x-mplayer2"
        pluginspage="
http://microsoft.com/Windows/MediaPlayer/"
        SRC="
file:///c:/yourpath/thewav.wav" AutoStart=true>
 name="MediaPlayer1" width=100 height=100 AutoStart=true>
      </EMBED>
</OBJECT>

<br/>
<a href="thepng.png" >Show png</a> <!-- works -->
<br/>
<a href="thewav.wav" >Play wav</a> <!-- doesn't work -->
<br/>
<a href="themp3.mp3" >Play mp3</a> <!-- doesn't work -->
<br/>
<a href="theswf.swf" >Play swf</a> <!—works… brings up Window Media Player!??-->
]]>
</description>
Reply all
Reply to author
Forward
0 new messages