This repository has been archived by the owner on May 1, 2024. It is now read-only.
Suppress Media Element error popup #1920
Unanswered
georgeinva2004
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having an issue where Media Element is attempting to play a video on Android and pops an error that says the video cannot be played. However, the video is playing fine. I've tried hooking the MediaFailed event, but that doesn't prevent the popup.
The media element is being rendered in a ListView via a DataTemplate. Any ideas? XAML below:
`
<xct:MediaElement x:Name="meCamera" Source="{Binding SelectedSource, FallbackValue='http://nothing.com/video.mpg'}"
Aspect="AspectFit" KeepScreenOn="True"
VerticalOptions="FillAndExpand" AutoPlay="True"
MediaFailed="meCamera_MediaFailed"/>
Beta Was this translation helpful? Give feedback.
All reactions