/// <summary> /// Processes determining the event trigger. /// </summary> /// <param name="args"> /// The args. /// </param> public override void Process(PlayerEventArgs args) { Assert.ArgumentNotNull(args, "args"); Assert.ArgumentNotNull(args.Properties, "args.Parameters"); IEventTrigger trigger = MediaFrameworkContext.GetEventTrigger(args.Properties.Template); if (trigger != null) { args.Trigger = trigger; } else { LogHelper.Warn("Player event trigger couldn't be determine for the player.", this); args.AbortPipeline(); } }