提交
This commit is contained in:
@@ -56,6 +56,8 @@
|
||||
self.mp4View.backgroundColor = [UIColor clearColor];
|
||||
self.mp4View.hidden = YES;
|
||||
[self addSubview:self.mp4View];
|
||||
[self bringSubviewToFront:self.headerView1];
|
||||
[self bringSubviewToFront:self.headerView2];
|
||||
}
|
||||
|
||||
-(void)setModel:(QXUserCpInfoModel *)model{
|
||||
@@ -228,6 +230,14 @@
|
||||
[self.mp4View setMute:YES];
|
||||
[self.mp4View playHWDMP4:self.videoPath repeatCount:INTMAX_MAX delegate:self];
|
||||
}
|
||||
-(void)resetView{
|
||||
[self.headerView1 sd_cancelLatestImageLoad];
|
||||
[self.headerView2 sd_cancelLatestImageLoad];
|
||||
self.headerView1.image = nil;
|
||||
self.headerView2.image = nil;
|
||||
[self stopHWDMP4];
|
||||
_model = nil;
|
||||
}
|
||||
//- (QXEffectSvgaView *)svgaView {
|
||||
// if (!_svgaView) {
|
||||
// _svgaView = [[QXEffectSvgaView alloc] initWithFrame:CGRectZero isAutoPlay:YES];
|
||||
|
||||
Reference in New Issue
Block a user