我在使用xcode的iOS应用程序中使用云动态中的brigthcove视频,当我启动播放器时,这能够正确播放视频,但播放按钮,全屏和其他显示问号。
self.options = [[BCOVPUIPlayerViewOptions alloc] init];
self.options.presentingViewController = self;
self.controlsView= [BCOVPUIBasicControlView basicControlViewWithVODLayout];
self.playerView = [[BCOVPUIPlayerView alloc] initWithPlaybackController:self.playbackController options:self.options controlsView:self.controlsView ];
self.playerView.delegate = self;
self.playerView.frame = _videoContainer.bounds;
self.playerView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
[_videoContainer addSubview:self.playerView];
self.playerView.playbackController = self.playbackController;
我可以更改与按钮关联的图标,但我想使用那些应该直接带来sdk的图标。
BCOVPUIButton *b = self.playerView.controlsView.playbackButton;
[b setImage:[UIImage imageNamed:@"iconoapp-03"] forState:UIControlStateNormal];
任何sugestions?谢谢
编辑1 :添加了屏幕截图