Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone playing video in custom view: Example Code Please?

I'm wanting to put together an application which plays video fullscreen with an interface overlaying it that basically chooses the video that is played underneath it (think 'Gym Babes' but nowhere near as risqé!). I don't wish to use private headers so MPMoviePlayerController is out of the question.

I've been digging through stackoverflow for a while and have come to the conclusion that I would need to use some sort of custom codec/video library that I assume would be written in C.

My question is basically has anyone had success doing this? And can anyone share any code, tutorials etc they can share?

like image 889
Rich Avatar asked May 23 '26 10:05

Rich


1 Answers

You probably want to take a look at AVPlayerLayer: http://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVPlayerLayer_Class/Reference/Reference.html it gives you basic playback abilities with no (read fully customizable) interface…

like image 200
Sash Zats Avatar answered May 25 '26 04:05

Sash Zats



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!