Video Player In Xamarin Forms Throws System.InvalidOperationException: Sequence contains no matching

Best Answer

Answers

  • ElertanElertan USMember

    I had done it this way before too, without success. But for the purpose of showing you, I did it exactly with your code. Look at what happens 1. I can click the episodes opening the video puu.sh/t1XcQ/302e2a11f7.png 2. I can watch the video without any problems, its perfect! puu.sh/t1Xft/0d35f62409.png 3. After clicking done in the left top corner, after about 3~ seconds this error pops up puu.sh/t1Xh6/e2362bccbd.png

  • ElertanElertan USMember

    I do agree with you that making the code robust is a must. However it's more in a concept fase than a good working version. If I wouldnt have gotten the error I'm having trouble with right now, I wouldve added these null check's. But Im really sure that's not the problem. I will make a demo project to see if I can reproduce the error.

  • ElertanElertan USMember

    I fixed it. It was not relevant to the code that plays the video as suggested by you. Thanks alot!

Sign In or Register to comment.