| | |
| | | } |
| | | |
| | | |
| | | ///** |
| | | // * 收到的画面长宽值 |
| | | // * |
| | | // * @param player 播放器对象 |
| | | // * @param height 高度 |
| | | // * @param width 宽度 |
| | | // */ |
| | | //- (void)player:(EZPlayer *)player didReceivedDisplayHeight:(NSInteger)height displayWidth:(NSInteger)width{ |
| | | // HDLEZLog(@"画面长:%ld,宽:%ld",(long)height,(long)width); |
| | | // CGFloat playerVH=self.playerView.frame.size.height; |
| | | // CGFloat playerVW=playerVH*(width/height); |
| | | // self.playerView.frame=CGRectMake(0, 0, 50, 50); |
| | | // HDLEZLog(@"playerView的frame:%f",self.playerView.frame.size.width); |
| | | // |
| | | //} |
| | | |
| | | |
| | | - (void)player:(EZPlayer *)player didPlayFailed:(NSError *)error |
| | | { |
| | | NSLog(@"player: %@, didPlayFailed: %@", player, error); |