I am using xcode 8.2 and swift 2.3 and running project in iOS 10.1
let videoURL = NSURL(string: url)
let config = MobilePlayerConfig(
dictionary: ["watermark": ["image": "Sûre logo copy"]])
playerVC = MobilePlayerViewController(contentURL: videoURL!,
config: config)
playerVC!.title = title
playerVC!.activityItems = [videoURL!]
// Check the documentation for more information.
//playerVC?.moviePlayer.setFullscreen(false, animated: false)
self.navigationController?.pushViewController(playerVC!, animated: false)
What did you expect to happen?
Video is playing in all devices except iPad mini2 , But again working on simulator.
What happened instead?
It is loading video but it is not playing it. just showing current image of video.
Report
What did you do?
I am using xcode 8.2 and swift 2.3 and running project in iOS 10.1 let videoURL = NSURL(string: url) let config = MobilePlayerConfig( dictionary: ["watermark": ["image": "Sûre logo copy"]]) playerVC = MobilePlayerViewController(contentURL: videoURL!, config: config) playerVC!.title = title playerVC!.activityItems = [videoURL!] // Check the documentation for more information. //playerVC?.moviePlayer.setFullscreen(false, animated: false) self.navigationController?.pushViewController(playerVC!, animated: false)
What did you expect to happen?
Video is playing in all devices except iPad mini2 , But again working on simulator.
What happened instead?
It is loading video but it is not playing it. just showing current image of video.
Project that demonstrates the issue