Skip to content

Commit

Permalink
Update SJDYPlaybackListViewController.m
Browse files Browse the repository at this point in the history
  • Loading branch information
changsanjiang committed Mar 3, 2021
1 parent c28703f commit dae8d1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
}

- (void)tableView:(UITableView *)tableView willDisplayCell:(SJDYTableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
NSURL *playbackURL = _list[indexPath.row].URL;
NSURL *playbackURL = [SJMediaCacheServer.shared playbackURLWithURL:_list[indexPath.row].URL];
[cell.player configureWithURL:playbackURL];
__weak typeof(self) _self = self;
cell.player.allowsPlayback = ^BOOL(id<SJDYDemoPlayer> _Nonnull player) {
Expand Down

0 comments on commit dae8d1a

Please sign in to comment.