override protected void OnAttach() { if (factory==null) factory = new MKVContentReaderFactory(); Application.PeerCast.ContentReaderFactories.Add(factory); }