WMP problem loading file embedded in gadget

I am trying to embed an mp3 file into a gadget and then play it using a windows media player.
it seems to be not loading the file. when i context-click on the media player i get:

Windows

Media Player cannot play the file because the specified protocol is not

supported. If you typed a URL in the Open URL dialog box, try using a different

transport protocol (for example, "http:" or "rtsp:").

the protocol, of course, is x-gadget://

can anyone recommend how i might be able to accomplish this?
thanks,
milton.

[638 byte] By [miltonhowe] at [2008-3-3]
# 1
You shouldn't need to specify a protocol for a file. Just the file with the full pathname should do the trick.
JonathanAbbott at 2007-9-3 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...
# 2
clarification: i did not supply a protocol on the url parameter in the embedded object. i simply put the path to the filename within the gadget assembly, the same as i would for the src attribute on an <img> tag or a <script> tag.

the x-gadget:// protocol appears when i right-click on the WMP control and select properties.

miltonhowe at 2007-9-3 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...
# 3
Sorry, didn't realise you were using .url

Try "file://". If that doesn't work, create a playlist and add your media to it. I'll show you how to do this if you "file://" doesn't work.

JonathanAbbott at 2007-9-3 > top of Msdn Tech,Gadgets,Sidebar Gadget Development...