I have a video player that I made with Silverlight 2, and to pass parameters in I'd have the following in the html file hosting it inside the SilverLight object tag:
<param name="initParams" value="path=http://foo.bar/pathToVid.wmv,
autoplay=false" />
This works in browser, but with the "out of browser" experience in SilverLight 3, the HTML file is autogenerated inside:
AppData\LocalLow\Microsoft\Silverlight\Offline{{hostname}}.n\index.html
Or the equivalent on OS X; so this doesn't really work.
I'd like to take a command line argument after the application is launched and just use that as the video source, turning my SilverLight app into a general purpose video player. Is there any way to do this with the out of browser SilverLight?