提交 60a74523 编写于 作者: Z Zhang Rui

ios/demo: remove unused code

上级 c70301c8
......@@ -73,7 +73,6 @@
// [IJKFFMoviePlayerController checkIfPlayerVersionMatch:YES major:1 minor:0 micro:0];
IJKFFOptions *options = [IJKFFOptions optionsByDefault];
[options setFormatOptionValue:@"ijktcphook" forKey:@"http-tcp-hook"];
self.player = [[IJKFFMoviePlayerController alloc] initWithContentURL:self.url withOptions:options];
self.player.view.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
......@@ -81,8 +80,6 @@
self.player.scalingMode = IJKMPMovieScalingModeAspectFit;
self.player.shouldAutoplay = YES;
IJKFFMoviePlayerController *ffp = self.player;
self.view.autoresizesSubviews = YES;
[self.view addSubview:self.player.view];
[self.view addSubview:self.mediaControl];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册