预上线
This commit is contained in:
@@ -1042,15 +1042,15 @@
|
||||
-(void)playSeductionEffectWithPlayImage:(NSString *)playImage isMute:(BOOL)isMute{
|
||||
MJWeakSelf
|
||||
if ([playImage hasPrefix:@"http"] || [playImage hasPrefix:@"https"]) {
|
||||
// [[QXRequset shareInstance] downloadVideoPlayerWithUrl:playImage completion:^(BOOL result, NSString * _Nonnull fileName) {
|
||||
// NSString *videoPath = [QXFileManager getGiftVideoPath:playImage.lastPathComponent];
|
||||
// weakSelf.mp4View.hidden = NO;
|
||||
// [weakSelf.mp4View playHWDMP4:videoPath repeatCount:1 delegate:self];
|
||||
// }];
|
||||
self.mp4View.hidden = NO;
|
||||
NSString *videoPath = [[NSBundle mainBundle] pathForResource:@"zizi" ofType:@"mp4"];
|
||||
[self.mp4View setMute:isMute];
|
||||
[self.mp4View playHWDMP4:videoPath repeatCount:1 delegate:self];
|
||||
[[QXRequset shareInstance] downloadVideoPlayerWithUrl:playImage completion:^(BOOL result, NSString * _Nonnull fileName) {
|
||||
NSString *videoPath = [QXFileManager getGiftVideoPath:playImage.lastPathComponent];
|
||||
weakSelf.mp4View.hidden = NO;
|
||||
[weakSelf.mp4View playHWDMP4:videoPath repeatCount:1 delegate:self];
|
||||
}];
|
||||
// self.mp4View.hidden = NO;
|
||||
// NSString *videoPath = [[NSBundle mainBundle] pathForResource:@"zizi" ofType:@"mp4"];
|
||||
// [self.mp4View setMute:isMute];
|
||||
// [self.mp4View playHWDMP4:videoPath repeatCount:1 delegate:self];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user