|
@@ -19,6 +19,19 @@ open class BFVideoCoverViewCell: BFImageCoverViewCell {
|
|
|
|
|
|
public override func addData() {
|
|
|
super.addData()
|
|
|
+
|
|
|
+ //add by ak 如果是视频素材取到视频数据后在进行扶正操作。
|
|
|
+ if(recordItem?.mediaType == .Video){
|
|
|
+
|
|
|
+ recordItem?.fetchAVUrlAssetCallBack = {[weak self] in
|
|
|
+ DispatchQueue.main.async {[weak self] in
|
|
|
+ guard let wself = self else { return }
|
|
|
+ wself.rotationView()
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public func rotationView(){
|