0
votes

I found a lots posts about playing mp4 in MPMoviePlayerController (can be in a smaller view in screen) or play youtube video in YTMoviePlayer (fullscreen). I'd like to know if there are someways to play a YouTube video in a certain view? Like apple's example code for MPMoviePlayerController?

https://developer.apple.com/library/ios/#samplecode/MoviePlayer_iPhone/Introduction/Intro.html

Thanks you

2

2 Answers

1
votes

You should try this. LBYoutubeView. This allows you to play a video in specific view frame.

0
votes

If you're using an iPhone, there's no way of using the MPMoviePlayerController other than fullscreen. With the iPad, it's a different story, you can embed the player in another view.