         
     }
     
-    public func load(player: Player, config: Any?, messageBus: MessageBus) {
+    public func load(player: Player, mediaConfig: MediaEntry, pluginConfig: Any?, messageBus: MessageBus) {
         
         self.messageBus = messageBus
+        self.mediaEntry = mediaConfig
         
         if let aConfig = config as? AnalyticsConfig {
             self.config = aConfig


class PhoenixAnalyticsPlugin: PKPlugin {

    private var player: Player!
    private var messageBus: MessageBus?
    private var config: AnalyticsConfig!

    public static var pluginName: String = "PhoenixAnalytics"
    

    }
    
    public func destroy() {
        setMessageParams(action: .stop)
    }
    
    func registerToAllEvents() {
        
    }
    
    private func setMessageParams(action: PhoenixAnalyticsType) {
    
    }
    
}
