预上线

This commit is contained in:
启星
2026-01-13 09:45:03 +08:00
parent d41d74dd8e
commit 705d891c51
12 changed files with 97 additions and 28 deletions

View File

@@ -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];
}
}