IPhone plays video in user view: Sample code Please?

I want to build an application that plays full-screen video with an interface overlaying it, which basically selects the video that plays under it (think "Gym Babes", but nowhere near the risk!). I do not want to use private headers, so MPMoviePlayerController cannot be.

I delved into stackoverflow for a while and came to the conclusion that I would need to use some kind of special codec / video library, which I suppose will be recorded in C.

My question is basically anyone successful? And can anyone share any code, tutorials, etc. that they can use?

+3
source share
1 answer

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 options without an interface (fully read fully customizable). ..

+1
source

Source: https://habr.com/ru/post/1717912/


All Articles