marinofaggiana 3 years ago
parent
commit
cd1f315133
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Viewer/NCViewerVideo/NCViewerVideo.swift

+ 1 - 1
iOSClient/Viewer/NCViewerVideo/NCViewerVideo.swift

@@ -74,7 +74,7 @@ class NCViewerVideo: NSObject {
             if let view = view  {
 
                 self.videoLayer!.frame = view.bounds
-                self.videoLayer!.videoGravity = AVLayerVideoGravity.resizeAspectFill
+                self.videoLayer!.videoGravity = .resizeAspect
                 view.layer.addSublayer(self.videoLayer!)
                 
                 // At end go back to start & show toolbar