|
@@ -128,13 +128,24 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ NSString *totalTimeStr = nil;
|
|
if(playHourTimeStr){
|
|
if(playHourTimeStr){
|
|
- _timeLabel.text = [[NSString alloc] initWithFormat:@"%@:%@:%@",playHourTimeStr,playMinTimeStr,playSecondTimeStr];
|
|
|
|
|
|
+ totalTimeStr = [[NSString alloc] initWithFormat:@"%@:%@:%@",playHourTimeStr,playMinTimeStr,playSecondTimeStr];
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
- _timeLabel.text = [[NSString alloc] initWithFormat:@"%@:%@",playMinTimeStr,playSecondTimeStr];
|
|
|
|
|
|
+ totalTimeStr = [[NSString alloc] initWithFormat:@"%@:%@",playMinTimeStr,playSecondTimeStr];
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ NSShadow *shadow = [[NSShadow alloc] init];
|
|
|
|
+ shadow.shadowBlurRadius = 4;
|
|
|
|
+ shadow.shadowColor = [UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:0.5];
|
|
|
|
+ shadow.shadowOffset =CGSizeMake(0,2);
|
|
|
|
+
|
|
|
|
+ NSAttributedString * attributedText = [[NSAttributedString alloc] initWithString:totalTimeStr attributes:@{NSShadowAttributeName:shadow}];
|
|
|
|
+ _timeLabel.attributedText = attributedText;
|
|
|
|
+
|
|
|
|
+
|
|
defaultImage = [UIImage imageNamed:@"uploadFile_Video"];
|
|
defaultImage = [UIImage imageNamed:@"uploadFile_Video"];
|
|
}
|
|
}
|
|
else{
|
|
else{
|