     let request = newRequest(parameters: parameters, accessToken: accessToken, cookies: cookies)
     webView.load(request)
     webView.navigationDelegate = self
+  }
+  
+  public func updateOMIDFriendlyObstructions(omidFriendlyObstructions: [OMIDFriendlyObstruction]) {
+    self.omidFriendlyObstructions = omidFriendlyObstructions
   }
   
   //We need this since sometimes the system sets the AVAudioSession to inactive when the app enter in background.

  private var omidSession: OMIDDailymotionAdSession?
  private var isAdPaused = false
  private var allowIDFA = true

  override open var shouldAutorotate: Bool {
    return true
  }

  fileprivate var paramsToLoad: String?
  
  open weak var delegate: DMPlayerViewControllerDelegate?
  /// OM SDK
  private static let omidPartnerName = "Dailymotion"
  private static let omidPartnerVersion = "6.7.5"
