How should I implement it to play iOS videos simultaneously?
I want to play 4 videos simultaneously on my iPad.
It can be implemented in the application of iOS app development company TouchPress.
https://www.youtube.com/watch?v=nK54PvY_nAQ&feature=youtu.be&t=72
It's not a complete answer, but if it's a YouTube video, I've been able to play multiple simultaneous views using the following LBYouTubeView before.
@Nyoho
Thank you! Try LBYouTubeView.
Actually, I was able to play it with multiple AVPlayerViewControllers.
Generate multiple AVPlayer, set each AVPlayer to the AVPlayerViewController, and locate each AVPlayerViewController.
let movieUrl:NSURL=NSURL.fileURLWithPath(path)
let each_player = AVPlayer (URL: movieUrl)
letach_playerController=AVPlayerViewController()
each_playerController.player=each_player
each_playerController.showsPlaybackControls=false
letx_position —CGFloat=self.thumbnailMovieWidth*contents_count
each_playerController.view.frame = CGRectMake(x_position, 0, self.thumbnailMovieWidth, self.thumbnailMovieHeight)
self.addChildViewController(each_playerController)
// Put thumbnail into scroll view
self.buttonThumbnailMoviesScrollView.addSubview(each_playerController.view)
596 GDB gets version error when attempting to debug with the Presense SDK (IDE)
577 PHP ssh2_scp_send fails to send files as intended
567 Who developed the "avformat-59.dll" that comes with FFmpeg?
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
566 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.