|
@@ -23,6 +23,7 @@
|
|
|
#import "NASFileAudioModel.h"
|
|
|
#import "queryShareModel.h"
|
|
|
#import "audioPlayerViewController.h"
|
|
|
+#import "videoPlayByAVPlayerViewController.h"
|
|
|
|
|
|
@interface previewAudioOrDocumentViewController ()<UITableViewDelegate,UITableViewDataSource,DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
|
|
|
{
|
|
@@ -369,22 +370,22 @@
|
|
|
NSInteger row = indexPath.row;
|
|
|
if(row < _curNASFileAudioMod.data.list.count){
|
|
|
|
|
|
+// NASFileAudioDataModel*dataModel = _curNASFileAudioMod.data.list[row];
|
|
|
+// videoPlayByAVPlayerViewController *vc = [videoPlayByAVPlayerViewController new];
|
|
|
+// NASFilePicDataArrModel *VideoDataMode = [NASFilePicDataArrModel new];
|
|
|
+// VideoDataMode.size = dataModel.size;
|
|
|
+// VideoDataMode.path = dataModel.path;
|
|
|
+// VideoDataMode.name = dataModel.name;
|
|
|
+// VideoDataMode.time = dataModel.time;
|
|
|
+// vc.VideoDataMode = VideoDataMode;
|
|
|
+// [self.navigationController pushViewController:vc animated:YES];
|
|
|
+
|
|
|
+
|
|
|
audioPlayerViewController * vc = [audioPlayerViewController new];
|
|
|
vc.index = row;
|
|
|
vc.audioOutSidedataArray = _curNASFileAudioMod.data.list;
|
|
|
[self.navigationController pushViewController:vc animated:YES];
|
|
|
|
|
|
-// NASFileAudioDataModel* dataModel = _curNASFileAudioMod.data.list[row];
|
|
|
-//
|
|
|
-// NSString *filePath = dataModel.path;
|
|
|
-// NSString *urlStr = ksharedAppDelegate.NASFileService;
|
|
|
-// NSString *fileUrl = [[NSString alloc] initWithFormat:@"%@getFile?path=%@",urlStr,filePath];
|
|
|
-// NSString *showUrl = [[NSString alloc] initWithFormat:@"%@getThumbnail?path=%@",urlStr,filePath];
|
|
|
-// HLog(@"%@",fileUrl);
|
|
|
-// //fileUrl = @"http://transfertest.armclouding.com:10010/getFile?path=/sdcard/bb.mp4";
|
|
|
-// fileUrl = [fileUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
|
|
-//
|
|
|
-// NSURL * sourceMovieURL= [NSURL URLWithString:fileUrl];
|
|
|
}
|
|
|
}
|
|
|
|