in continuation to Dharmesh reply, please update
moviePlayer.view.frame = CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height)
it will then be adjusted as per device screen size.
Hope it helps!
1
solved Movie Player in Swift