I am trying to play a video in the WebView on a Xamarin app. The video runs fine as it is expected to do but the fullscreen option on the controls of the video is disabled.
XAML:
<WebView Source="{Binding Source}" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>
Code:
public object Source
{
get
{
var HTML = new HtmlWebViewSource();
HTML.Html = $@"<video controls><source src=""{PathToVideo}""></video>";;
return HTML;
}
}