Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Binju

macrumors member
Original poster
Jan 31, 2010
65
0
I am trying to play a youtube video in the quick time player.

I used the below code, But the movie is not playing,
'
Code:
QTMovie*    aMovie = [QTMovie movieWithFile:@"http://www.youtube.com/watch?v=RGJ-jLYt3gI.mov" error:nil];
	
	
	[mMovieView setMovie:aMovie];

				  
				
	 
	
		
	[aMovie autoplay];
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.