16:16:26 AdsPlayer.adsManager() 💚 DEBUG: AdsManager:Optional(<IMAAdsManager: 0x1c4495220>) error: Optional("VAST media file loading reached a timeout of 8 seconds.")
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Regular: paused -> waitingToPlayAtSpecifiedRate
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Optional(__ObjC.AVPlayer.WaitingReason(_rawValue: AVPlayerWaitingWhileEvaluatingBufferingRateReason))
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Current item: Optional(<AVPlayerItem: 0x1c001a150, asset = <AVURLAsset: 0x1c463afc0, URL = https://someADSVideofile.mp4>>)
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Regular: waitingToPlayAtSpecifiedRate -> waitingToPlayAtSpecifiedRate
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Optional(__ObjC.AVPlayer.WaitingReason(_rawValue: AVPlayerWaitingWithNoItemToPlayReason))
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Current item: Optional(<AVPlayerItem: 0x1c001a150, asset = <AVURLAsset: 0x1c463afc0, URL = https://someADSfile.mp4>>)
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Regular: waitingToPlayAtSpecifiedRate -> waitingToPlayAtSpecifiedRate
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Optional(__ObjC.AVPlayer.WaitingReason(_rawValue: AVPlayerWaitingWhileEvaluatingBufferingRateReason))
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Current item: Optional(<AVPlayerItem: 0x1c40110a0, asset = <AVURLAsset: 0x1c443c0e0, URL = https://video.mp4>>)
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Regular: waitingToPlayAtSpecifiedRate -> paused
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: nil
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Current item: Optional(<AVPlayerItem: 0x1c40110a0, asset = <AVURLAsset: 0x1c443c0e0, URL = https://video.mp4>>)
16:16:26 AdsPlayer.adsManagerDidRequestContentResume() 💚 DEBUG: Ads manager:Optional(<IMAAdsManager: 0x1c4495220>) DidRequestContentResume for player: Optional(<AVPlayer: 0x1c0007c90>)
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Regular: paused -> waitingToPlayAtSpecifiedRate
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Optional(__ObjC.AVPlayer.WaitingReason(_rawValue: AVPlayerWaitingWhileEvaluatingBufferingRateReason))
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Current item: Optional(<AVPlayerItem: 0x1c40110a0, asset = <AVURLAsset: 0x1c443c0e0, URL = video.mp4>>)
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Regular: waitingToPlayAtSpecifiedRate -> waitingToPlayAtSpecifiedRate
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Optional(__ObjC.AVPlayer.WaitingReason(_rawValue: AVPlayerWaitingWithNoItemToPlayReason))
16:16:26 VideoPlayer.playerStatus() 💚 DEBUG: Current item: Optional(<AVPlayerItem: 0x1c40110a0, asset = <AVURLAsset: 0x1c443c0e0, URL = video.mp4>>)
16:16:26 AdsPlayer.adsManager() 💚 DEBUG: Ads manager Optional(<IMAAdsManager: 0x1c4495220>) did receive event: Optional("All Ads Completed")
func adsLoader(_ loader: IMAAdsLoader!, failedWith adErrorData: IMAAdLoadingErrorData!) {
// Something went wrong loading ads. Log the error and play the content.
logMessage("Error loading ads: \(adErrorData.adError.message)")
isAdPlayback = false
setPlayButtonType(PlayButtonType.pauseButton)
contentPlayer!.play()
}