MediaElement can't play network paths containing a #

Viewed 237

My F:\ drive is a mapped network drive. I have two videos on it:

F:\Video1.mp4
F:\Video#1.mp4

I'd like to use a MediaElement to play them.

<MediaElement Source="F:\Video1.mp4" />  <!-- works -->
<MediaElement Source="F:\Video#1.mp4" />  <!-- doesn't work -->

It seems the # is being treated as %23 when it is a network path. This works fine if F:\ is a local drive.

How can I make F:\Video#1.mp4 work? It is a legitimate path.

1 Answers
Related