|
|
@@ -68,7 +68,8 @@
|
|
|
|
|
|
// UIImage *singleImage = [UIImage imageNamed:@"dfplayer_single"];
|
|
|
// UIImage *circleImage = [UIImage imageNamed:@"dfplayer_circle"];
|
|
|
- UIImage *ovalImage = [UIImage imageNamed:@"dfplayer_oval"];
|
|
|
+
|
|
|
+ UIImage *ovalImage = [UIImage imageNamed:@"dfplayer_oval"];
|
|
|
|
|
|
|
|
|
DFPlayerUIManager *mgr = [DFPlayerUIManager sharedManager];
|
|
|
@@ -79,10 +80,10 @@
|
|
|
// superView:self.view];
|
|
|
//进度条
|
|
|
UISlider * curSlider = [mgr df_sliderWithFrame:CGRectZero
|
|
|
- minimumTrackTintColor:[UIColor hwColor:@"#058DFB"]
|
|
|
+ minimumTrackTintColor:[UIColor hwColor:@"#0CDEFD"]
|
|
|
maximumTrackTintColor:[UIColor hwColor:@"#E3E3E3"]
|
|
|
trackHeight:4
|
|
|
- thumbImage:[ovalImage imageByResizeToSize:(CGSize){34,34}]
|
|
|
+ thumbImage:[ovalImage imageByResizeToSize:(CGSize){15,14}]
|
|
|
superView:self.view];
|
|
|
|
|
|
[curSlider mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
@@ -170,6 +171,12 @@
|
|
|
//fileUrl = @"http://transfertest.armclouding.com:10006/getFile?path=/storage/emulated/0/Download/录音大师-2024.05.22-16:57.mp3";
|
|
|
//fileUrl = @"http://transfertest.armclouding.com:10010/getFile?path=/sdcard/Music/abc.mp3";
|
|
|
//fileUrl = @"http://m10.music.126.net/20240527160012/d3f165dc686ac01afd4497400b2c2c58/ymusic/5353/0f0f/0358/d99739615f8e5153d77042092f07fd77.mp3";
|
|
|
+ fileUrl = @"https://www.cambridgeenglish.org/images/153149-movers-sample-listening-test-vol2.mp3";
|
|
|
+ //fileUrl = @"https://www.cambridgeenglish.org/images/506891-a2-key-for-schools-listening-sample-test.mp3";
|
|
|
+ //fileUrl = @"http://downsc.chinaz.net/Files/DownLoad/sound1/201906/11582.mp3";
|
|
|
+ //fileUrl = @"http://downsc.chinaz.net/files/download/sound1/201206/1638.mp3";
|
|
|
+
|
|
|
+
|
|
|
fileUrl = [fileUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
|
|
NSURL * curURL = [NSURL fileURLWithPath:fileUrl];
|
|
|
HLog(@"%@",curURL.absoluteString);
|