Video player works locally but invisible on host


Following code works locally:
<div id="silverlightControlHost"> <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="620" height="414"> <param name="source" value="VideoPlayer.xap"/> <param name="background" value="white" /> <param name="initParams" value="m=http://www.mdoshea.ie/ClientBin/tornado.wmv" /> <param name="minruntimeversion" value="2.0.31005.0" /> <a href="http://go.microsoft.com/fwlink/?LinkId=124807" style="text-decoration: none;"> <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/> </a> </object> </div>  
But will not run on test page at hosted site (http://mdoshea.ie/showvideo.aspx)
I've experimented with source location for VideoPlayer.xap and have copy in root as well as ClientBin folder. I've also tried value="ClientBin\VideoPlayer.xap" and "\ClientBin\VideoPlayer.xap".
Again these values work locally but not on online in host site.
Host (webhotel aka inforce) confirms they have Silverlight vers. 3, I have vers. 4 locally. However min runtime vers is 2.0.31005.0, so presumably this is not problem.
I get a blank screen area online where video should be like host can't find VideoPlayer.xap.
Are there any other files I need to upload to get player working? Or perhaps settings to be changed online?
Have spent some time trying to get working online so would appreciate any help.


tron wrote Aug 2, 2010 at 6:35 PM

Had same issue. Make sure the Mime type is set on the server for silverlight templates.

Mime Type settings:
The extension is ".xap" and mime type is "application/x-silverlight-app"

wrote Feb 21, 2013 at 11:31 PM