Sascha-L / WPF-MediaKit

Microsoft Public License
367 stars 116 forks source link

MediaUriElement cannot render #107

Open bourne-3 opened 1 year ago

bourne-3 commented 1 year ago

VideoControl= this.Template.FindName("MediaPlayer", this) as MediaUriElement; var source = "url that can play video" VideoControl.Source = new Uri(source);
VideoControl.Play();

And I got a exception: ”could not render any streams from the source Uri“ I don't have this problem on my development machine, but it happens on the client machine. how to solve