XSLT存档  

不及格的程序员-八神

 查看分类:  ASP.NET XML/XSLT JavaScripT   我的MSN空间Blog
posts - 174,  comments - 1172,  trackbacks - 0

同样的代码,模拟器下不工作,真机下可以循环播放。


MPMoviePlayerController *theMovie = [[MPMoviePlayerControlleralloc] initWithContentURL:[NSURLfileURLWithPath:[[NSBundlemainBundle] pathForResource:@"***"ofType:@"mp4"] ]];

theMovie.repeatMode=MPMovieRepeatModeOne;

theMovie.view.frame = self.view.bounds;

[self.view addSubview:theMovie.view];

theMovie.scalingMode = MPMovieScalingModeAspectFill;

posted on 2011-11-25 15:04 不及格的程序员-八神 阅读(...) 评论(...) 编辑 收藏