Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaUriElement cannot render #107

Open
bourne-3 opened this issue Jul 30, 2023 · 0 comments
Open

MediaUriElement cannot render #107

bourne-3 opened this issue Jul 30, 2023 · 0 comments

Comments

@bourne-3
Copy link

bourne-3 commented Jul 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant