Example #1
0
        protected void GetRecentVideos()
        {
            var settings = target as VimeoSettings;

            if (!settings.Authenticated())
            {
                return;
            }
            InitAPI();

            settings.vimeoVideos.Clear();
            settings.vimeoVideos.Add(
                new VimeoVideo("Loading...", null)
                );

            api.OnRequestComplete += GetVideosComplete;
            api.OnError           += OnRequestError;

            api.GetRecentUserVideos();
        }