It took me a half day to figure this out. It falls under that category of seeing what I wanted rather than seeing what was actually there.
My eyes refused to "see" the following statement:
Yi-Lun Luo - MSFT
In this case, you must create a web site
The solution to my problem is this: When you create a Silverlight application you are presented with two choices, 1) Create a web site to run it in or 2) Create an html test page to run it in.
Requirements: fix this; Design: break it down; Devel: get it working then fix it; Testing: if it ain't broke don't fix it; Help: it's broke, here's how to fix it; Sales: it will be fixed in the next version.
K2P2
Participant
1134 Points
401 Posts
Re: Creating a MediaElement in C#
Apr 15, 2009 09:32 PM | LINK
It took me a half day to figure this out. It falls under that category of seeing what I wanted rather than seeing what was actually there.
My eyes refused to "see" the following statement:
The solution to my problem is this: When you create a Silverlight application you are presented with two choices, 1) Create a web site to run it in or 2) Create an html test page to run it in.
I was running in an html test page and so it wouldn't work. When I finally threw that code away and made a web site to test my code in then it all started working (using either http://localhost:nnnn/whatever/test.wmv or http://mywebsite.com/whatever/test.wmv)
Requirements: fix this; Design: break it down; Devel: get it working then fix it; Testing: if it ain't broke don't fix it; Help: it's broke, here's how to fix it; Sales: it will be fixed in the next version.