I rendered videos in my app using UIWebView. Youtube video is streaming with no issues but videos from my server crashes the app. I got this issue after updating the iOS to 8.4 . It works fine with iOS 8.3 and other older versions.
Here is the crash log
NSInvalidArgumentExceptionapplicationIsAdSheet -[MPVideoView playbackState]: unrecognized selector sent to instance *****
Frameworks/CoreFoundation.framework/CoreFoundation:0
/usr/lib/libobjc.A.dylib:0objc_exception_throw
Frameworks/CoreFoundation.framework/CoreFoundation:0
Frameworks/CoreFoundation.framework/CoreFoundation:0
Frameworks/CoreFoundation.framework/CoreFoundation:0CF_forwarding_prep_0
Frameworks/MediaPlayer.framework/MediaPlayer:0
Internet Plug-Ins/QuickTime Plugin.webplugin/QuickTime Plugin:0applicationIsAdSheet
Frameworks/MediaPlayer.framework/MediaPlayer:0
Frameworks/MediaPlayer.framework/MediaPlayer:0
Frameworks/UIKit.framework/UIKit:0
Frameworks/UIKit.framework/UIKit:0
Frameworks/UIKit.framework/UIKit:0
Frameworks/UIKit.framework/UIKit:0
Frameworks/UIKit.framework/UIKit:0
Frameworks/Foundation.framework/Foundation:0_NSFireDelayedPerform
Frameworks/CoreFoundation.framework/CoreFoundation:0
Frameworks/CoreFoundation.framework/CoreFoundation:0
Frameworks/CoreFoundation.framework/CoreFoundation:0
Frameworks/CoreFoundation.framework/CoreFoundation:0CFRunLoopRunSpecific
Frameworks/CoreFoundation.framework/CoreFoundation:0CFRunLoopRunInMode
PrivateFrameworks/GraphicsServices.framework/GraphicsServices:0GSEventRunModal
Frameworks/UIKit.framework/UIKit:0UIApplicationMain
MyApp/main.m:16:0main
/usr/lib/system/libdyld.dylib:0
Any help will be appreciated