Xamarin.Forms.VideoPlayer icon indicating copy to clipboard operation
Xamarin.Forms.VideoPlayer copied to clipboard

NullReferenceException

Open dpmm99 opened this issue 4 years ago • 2 comments

A System.NullReferenceException propagated out to the call to UIApplication.Main() on iOS when I loaded a video page and then backed out of that page. The video was also unplayable (with a slash through the play button) for the minute or so I waited on the page before backing out.

Unlike this case, setting TimeElapsedInterval="0" does not prevent the exception.

Made a ContentPage with only a VideoPlayer (<o:VideoPlayer Source="http://vjs.zencdn.net/v/oceans.mp4" />) in a StackLayout Problem occurred on iOS 12.2 (simulator); did not occur on Android emulator Using Octane.Xam.VideoPlayer 3.1.0 and Xamarin.Forms 4.0.0.497661

dpmm99 avatar Jul 15 '19 14:07 dpmm99

I got the same issue here. I tried setting the TimeElapsedInterval but that didn't work either.

ChizuNoYama avatar Sep 18 '19 17:09 ChizuNoYama

I can confirm that updating to the latest Xamarin Forms fixes this issue

ChizuNoYama avatar Sep 18 '19 17:09 ChizuNoYama