 {
 	import com.kaltura.KalturaClient;
 	import com.kaltura.commands.stats.StatsReportError;
+	import com.kaltura.kdpfl.model.MediaProxy;
 	import com.kaltura.kdpfl.model.ServicesProxy;
 	import com.kaltura.kdpfl.model.type.NotificationType;
+	import com.kaltura.kdpfl.view.media.KMediaPlayerMediator;
 	
 	import flash.net.URLRequestMethod;
 	
 	import org.osmf.events.MediaError;
 	import org.osmf.events.MediaErrorEvent;
+	import org.osmf.media.MediaPlayer;
 	import org.puremvc.as3.interfaces.INotification;
 	import org.puremvc.as3.patterns.mediator.Mediator;
 

		 */		
		override public function handleNotification(note:INotification):void
		{
			//notify the server - for troubleshooting
			if (note.getName() == NotificationType.MEDIA_ERROR) {
				var data:MediaErrorEvent = note.getBody().errorEvent as MediaErrorEvent;
				var sendError:StatsReportError = new StatsReportError(NotificationType.MEDIA_ERROR, 
					"resourceUrl: " + resourceUrl +"| Error ID: "+ data.error.errorID +"| Error Message: "+ data.error.message +  "| Stack Trace: " + data.error.getStackTrace());
				sendError.method = URLRequestMethod.POST;
				
				_kc.post(sendError);
				
			}
		}

		override public function listNotificationInterests():Array
		{
			return  [
				NotificationType.MEDIA_ERROR,
				NotificationType.PLAYER_PLAYED
			];
		}
		
