How to display video file to Media element from web server
Hi,
here i m using follwoing code for play video :
string strFileName = m.VideName;
Uri VideoUri = new Uri(App.Current.Host.Source, strFileName);
meVideo.Source = VideoUri;
meVideo.AutoPlay = true;
above file is present on ClientBin folder, and path is display with browser "url/ClientBin/fileName.mp4" but its can't Play.
Can anyone tell me how this is done?
Answers (2)
0
Not Display Data
My XAML File
<Picker x:Name="City" Title="City" HorizontalOptions="FillAndExpand" BindingContext="{Binding get_Cities}" SelectedIndex="{Binding CitySelectedIndex}" >
</Picker>
0
Your code seems to be fine. Do you have any problem in populating the City dropdown dynamically?