Is it possible to access the Silverlight XAP file through two local host domains?

Hi, I created a silver light app with a media player. And it works great in this application. When I use the code to paste into another application as a meta tag. It cannot load zap file and video. May I know how I can fix this.

Here is the 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 a silver light app, it works. but this meta tag should work on all other domains. I tested two host domains.

Thanks at Advance.

QC

+3
source share
1 answer

clientaccesspolicy.xml crossdomain.xml, - .

.

+1

Source: https://habr.com/ru/post/1738932/


All Articles