-
IRMultiplePlayerLayout is a multiple video players for iOS.
-
Using the video player(IRPlayer).
-
Using naitve TableView.
-
Using Texture/AsyncDisplayKit (Texture).
-
Sibling repository: IRMultiplePlayers.
- Support naitve TableView.
- Support Texture framework.
- Git clone this project.
- Setup
ASTableNode
.
_tableNode = [[ASTableNode alloc] init];
_tableNode.delegate = self;
_tableNode.dataSource = self;
- Setup
VideoModel
.
NSString *videoUrlString = @"https://www.w3schools.com/html/mov_bbb.mp4";
NSString *avatarUrlString = @"https://www.google.com.tw/images/branding/googlelogo/2x/googlelogo_color_160x56dp.png";
_title = @"Demo title";
_url = [NSURL URLWithString:videoUrlString];
_userName = @"Random User";
_avatarUrl = [NSURL URLWithString:avatarUrlString];
Demo1 | Demo2 |
---|---|
![]() |
![]() |