XamarinMediaManager icon indicating copy to clipboard operation
XamarinMediaManager copied to clipboard

Play multiple videos at a time

Open HamzaSaidi opened this issue 4 years ago • 1 comments

💬 Questions and Help

I have a collection of videoView each one is bound to video source I want them to auto play at the same time

<CollectionView AbsoluteLayout.LayoutBounds="0,0,0.5,1" AbsoluteLayout.LayoutFlags="All" ItemsSource="{Binding Videos}"> <CollectionView.ItemsLayout> <LinearItemsLayout ItemSpacing="30" Orientation="Vertical" /> </CollectionView.ItemsLayout> <CollectionView.ItemTemplate> <DataTemplate x:DataType="models:Video"> <mm:VideoView AutoPlay="False" HeightRequest="150" Repeat="{Binding RepeatMode}" ShowControls="False" Source="{Binding MediaItem}" /> </DataTemplate> </CollectionView.ItemTemplate> </CollectionView>

HamzaSaidi avatar Nov 20 '20 16:11 HamzaSaidi

I'm looking to do the same thing. My VideoView's are procedurally generated in the C# codebehind of the shared project and I need to bind a different video to each of them. Currently the last added video plays while the rest show a black screen

mrobraven avatar Jul 10 '21 15:07 mrobraven