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