 			}
 		}
 		
-		protected function setupSubtitleTrait(trait:SubtitleTrait):void
+		protected function setupSubtitleTrait(trait:SubtitleTrait):void
 		{
 			_subtitleTrait = trait; // save SubtitleTrait in order to read languages
 			if ( _subtitleTrait && _subtitleTrait.languages.length > 0 )

	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;
	
	public class KalturaHLSMediator extends Mediator
	{
		public static const NAME:String = "KalturaHLSMediator";

				}
				_subtitleTrait.addEventListener(SubtitleEvent.CUE, sendSubtitleNotification); 
				sendNotification("textTracksReceived", {languages:langArray}); //will triger ClosedCaptions textTracksReceived function, through kplayer onTextTracksReceived listener
			}	
		}
		//var trait:NetStreamLoadTrait = element.getTrait(MediaTraitType.LOAD) as NetStreamLoadTrait;
		protected function setupLoadTrait(trait:NetStreamLoadTrait):void
