IOS, how to directly play YouTube video without embedding it in UIWebView

I want to add the YouTube video play function for my iPhone app. But I do not want to embed it in a UIWebView,

Basically I want to remove the extra preview before playing the video. I want the user to see the video as soon as he clicks (say) UITableViewCell.

Is it possible?

I saw this post: Embed a video on YouTube But this is not the solution I want.

Also, if I launch the Youtube application directly, users will not be redirected to the application. after the video is completed.

Thanks in advance.

+5
source share
2 answers

XCDYouTubeVideoPlayerViewController. YouTube. https://github.com/0xced/XCDYouTubeVideoPlayerViewController

Readme:

, XCDYouTubeVideoPlayerViewController , , , App Store, HTTP Live Streaming - :

. iOS, App Store, .

, 10 , 5 , HTTP Live Streaming. (Progressive .)

+1

aptus youtube, , URL- . ( h264), MPMoviePlayerController .

-1

All Articles