XamarinMediaManager
XamarinMediaManager copied to clipboard
Play multiple videos at a time
💬 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>
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