Forum Xamarin.Forms

Play video when the view is displayed

AdamSotakAdamSotak USMember ✭✭
edited March 2018 in Xamarin.Forms

I am using Plugin.MediaManager to play video in Xamarin.Forms. I have a ListView with multiple video players. I want to know if it's possible to start playing video when the item in ListView is displayed and also stop playing the item is undisplayed ?

Posts

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    If its a ListView doesn't that mean 10 might be running at the same time if 10 are visible at once?

  • AdamSotakAdamSotak USMember ✭✭

    Yes, but I want to stop playing the previous item if item name isn't displayed (it is ont the top of the item and the item will take size of a whole screen). Also player won't start playing if another is playing.

Sign In or Register to comment.