avplayerlayer Questions

3

Solved

I am working on a video application that plays a number of videos one after another. The videos are stored in an array of AVPlayerItems. AVQueuePlayer is initialized with those AVPlayerItems and it...
Celadon asked 7/11, 2013 at 6:2

2

I am using AVPlayer to play online video in my project. The Video is playing well. Now I want to reduce /increase the fps of the video . Below is my code that I am using: self.asset = [AVAsset ass...
Vitrification asked 16/5, 2016 at 7:54

2

Can anyone help me with code for setting up and playing local videofile, using AVPlayer in Xcode? (using AVPlayerLayer, and AVPlayerViewController) All done programmatically and with standard...
Bidet asked 1/3, 2016 at 12:5

1

Solved

I'm working on an iOS app which creates a feed of all the videos submitted by the pool of users, enabling users to browse and view the videos that others have created. As you can imagine, I need to...
Caravel asked 30/11, 2015 at 23:27

2

Solved

What's the trick to getting AVPlayer video content to show up in one's view? We are using the following AVPlayer code but nothing is appearing on screen. We know the video is there because we were...
Belittle asked 14/7, 2015 at 9:38

3

Solved

I'm playing a video on tvOS using the following code: NSString *filePath = [[NSBundle mainBundle] pathForResource:name ofType:@"mov"]; NSURL *fileUrl = [NSURL fileURLWithPath:filePath]; self.play...
Morell asked 29/9, 2015 at 12:56

0

I'm using AVPlayer to play videos in my app. Video playback always works perfectly, except for when you pause/resume the video. If the user presses the pause button, and then resumes the video, som...
Marshland asked 20/9, 2015 at 4:37

2

Solved

i'm using AVPlayer in my apps instead MPMoviePlayerController since i want to put the player as sublayer. However i need control like play, pause, search, and full screen. How do i get that button ...
Lashondalashonde asked 12/3, 2014 at 4:58

1

I am using the following code to show a full-screen video on my UIView: - (void)playMovie:(NSString *)name :(NSString *)type { NSURL *movieURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] path...
Carillon asked 30/1, 2014 at 10:43

0

I am working on Swift base MAC OS-X application. The user will choose a video file and the NSView Controller will play the video using AVPlayerView. The user can draw a rectangle over the AVPlayerV...
Cutlery asked 4/6, 2015 at 13:53

1

I have an application that plays video using AVPlayer and AVPlayerLayer. In my app, I'm able to play audio when the app is locked by setting the player property of my AVPlayerLayer to nil when the ...
Brasilein asked 25/5, 2015 at 5:41

1

Solved

At the moment, this is how I'm playing a video on the subview of my UIViewController: override func viewDidAppear(animated: Bool) { let filePath = NSBundle.mainBundle().pathForResource("musicvide...
Construe asked 22/6, 2014 at 13:54

2

I am using AVplayer to play videos in my app. I am using seekToTime:toleranceBefore:toleranceAfter: to seek through the video using a slider so the problem is when you slide in forward direction, ...
Vaishnava asked 23/7, 2012 at 5:51

1

i try to [playerLayer renderInContext:UIGraphicsGetCurrentContext()]; it will display black background. so i get current player item as thump image continuously it is not look like video play just ...
Autogiro asked 24/10, 2012 at 10:2

© 2022 - 2024 — McMap. All rights reserved.