Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Displaying youtube videos in iOS

How do i display videos on an app like youtube does, does anyone have any links or ideas for me to read certain blogs please help

6 Answers

i have been searching the net but no go

Thomas Skjelstad
Thomas Skjelstad
11,541 Points

You need to open the video in a webview. and embed the iframe. It is the easiest way.

that was helpful thanks but im looking for answers on how to make the app look like this in all three pics http://www.buyrealmarketing.com/blog/youtube-updates-android-4-0-app

well alittle bit the same not exactly of course just the basics to start with and work from there

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

That's a custom built app, so it would be impossible to find code which shows you exactly how to build that app. You could find some of those components on https://www.cocoacontrols.com/ which will help speed up building the app. However, it's something you would have to piece together finding information in a variety of places.

amit i just finished doing the video part in the latest IOS project now it is said that the Media import is one of the ways you can have on an app that can display videos now for what i am trying to do (through the image you sore of what kind of app im going for) what do you recommend is the best way for me to display videos form your professional opinion