While play media (using Play()
method) with https url getting exception:
An unhandled exception of type 'System.NullReferenceException' occurred in PresentationCore.dll
Additional information: Object reference not set to an instance of an object.
Is there any alternate way to make it working?
I have written below code:
MeMediaElement.Source = new Uri(txtPath.Text, UriKind.RelativeOrAbsolute);
MeMediaElement.Play();