Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 16, 2013, 09:11 PM   #1
Blakeasd
macrumors 6502a
 
Join Date: Dec 2009
Embed YouTube Video in Application

Hello,

Does anyone know of a relatively simple way to embed a YouTube video into a Mac Application? For example, this application actually embeds the entire YouTube web player in to the program. I know how to use a WebKit view, but what about isolating just the web player. I looked into YouTube's JSON API, but I'm completely lost. I saw this documentation , but I don't understand how this relates to Objective-C and Cocoa. Could someone please point me in the right direction?

Thanks!
Blakeasd is offline   0 Reply With Quote
Old Feb 17, 2013, 11:11 AM   #2
Ap0ks
macrumors regular
 
Join Date: Aug 2008
Location: Cambridge, UK
The easiest way is to create a WebView and use the link from the YouTube API (http://www.youtube.com/embed/VIDEO_ID) as the source URL and it'll load the YouTube video player and the video. You'll need to do more digging/research to make a fully functional YouTube app but just using the link should get you started.
Ap0ks is offline   0 Reply With Quote
Old Feb 17, 2013, 12:39 PM   #3
Blakeasd
Thread Starter
macrumors 6502a
 
Join Date: Dec 2009
Thank You!
Blakeasd is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How do I find the embed code for a youtube video (ios7)? kathyricks iPad Apps 2 Dec 30, 2013 12:33 AM
Can I embed a video in PowerPoint 2008? Limey77 Mac Applications and Mac App Store 1 Oct 7, 2013 06:16 PM
best application for downloading vids from youtube johnnyyt Mac Applications and Mac App Store 7 Apr 10, 2013 08:22 PM
YouTube application glitch Thetonyk123 iPhone and iPod touch Apps 1 Dec 14, 2012 09:53 PM
Embed YouTube Video RagingGoat iPhone/iPad Programming 1 Sep 20, 2012 09:13 AM

Forum Jump

All times are GMT -5. The time now is 09:22 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC