views:

30

answers:

1

Hi I had created a silver light application with media player. And it is working in that app fine. When i use the embed code to some other application as meta tag. It fails to load the zap file and video. Can i know how can i fix it.

Here is code:

<object height="360" width="640" type="application/x-silverlight-2" data="data:application/x-silverlight,">
<param value="http://localhost:1069/ClientBin/MymediaPlayer.xap" name="source">
<param value="onSilverlightError" name="onerror">
<param value="white" name="background">
<param value="m=http://localhost:1069/content/en-us/videofile/Butterfly.wmv" name="initParams">         
        </object>

When i use this in the silver light application it is working. but this meta tag should work on all other domain. I had tested on two local host domain.

Thanks in Advance.

KK

+1  A: 

You need to define a clientaccesspolicy.xml file or a crossdomain.xml file in order to permit access to your web services from different domains.

This is discussed here.

Jeff Yates