     }
     return nil
   }
-}
-
+  
+}
+

      self.payloadToLoad = nil
    }
  }
}

extension DMPlayerViewController: WKUIDelegate {

  
  func player(_ player: DMPlayerViewController, didReceiveEvent event: PlayerEvent)
  func player(_ player: DMPlayerViewController, openUrl url: URL)
  func player(_ player: DMPlayerViewController, didFailWithError error: Error)
  
}

