Sunday, June 1, 2014

Convert a path with spaces to a URI

You can't use a path here. Your app doesn't have permissions to read from it. The app has to let the StorageFile read the file and return the stream for the app to use.


Open the stream with storagefile.OpenAsync and pass that string to MyMediaElement.SetSource


No comments:

Post a Comment