Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ios 11 Issues #3

Closed
ercantulu opened this issue Sep 22, 2017 · 7 comments
Closed

ios 11 Issues #3

ercantulu opened this issue Sep 22, 2017 · 7 comments

Comments

@ercantulu
Copy link

Player is not compatible with Ios 11. Overlay does not respond to touch.

@Anbu312
Copy link

Anbu312 commented Oct 5, 2017

Hi @ercantulu overlay issue fixed ?

@ercantulu
Copy link
Author

try to add the overlay to contentOverlayView. That may help.

@Anbu312
Copy link

Anbu312 commented Oct 5, 2017

Hi Ercantulu

Please send sample code. I don't understand overlay to contentOverlayView.

Thanks

Anbu

@Anbu312
Copy link

Anbu312 commented Oct 5, 2017

Ercantulu cool it's working now Thanks lot.

@icodecocoa
Copy link

Please send a sample code to me too. I am facing the same issue and really stuck for days on this.

@Anbu312
Copy link

Anbu312 commented Oct 29, 2017

Hi @icodecocoa

Sorry for delay. Below sample code
AVPlayerVC.m file
Change below code
[self.view addSubview:_overlayVC.view]; replace to [self.contentOverlayView addSubview:_overlayVC.view];

@Anbu312
Copy link

Anbu312 commented Oct 29, 2017

Hi @ercantulu

I am facing delay playing videos. anybody facing that issue. Below my code I load my video player to TableView give me any suggestion guys lot of helpful for me.

         cell.playerVC.videoURL = @"Video Url";
        cell.playerVC.overlayVC.view.tag = indexPath.row;
        [cell.playerVC.view setFrame:cell.feedImage.bounds];
        cell.playerVC.videoGravity = AVLayerVideoGravityResizeAspectFill;
        [((UIView *)cell.feedImage) addSubview:cell.playerVC.view];
        
        [[AVAudioSession sharedInstance]
         setCategory: AVAudioSessionCategoryPlayback
         error: nil];

priore added a commit that referenced this issue Nov 5, 2017
@priore priore closed this as completed Nov 5, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants