Beispiel #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Create your application here
            SetContentView(Resource.Layout.PlayerSimpleVideoList);

            BrightcoveVideoView brightcoveVideoView = FindViewById <BrightcoveVideoView>(Resource.Id.brightcove_video_view);

            List <Video> videoList = new List <Video>();

            videoList.Add(Video.CreateVideo("http://solutions.brightcove.com/bcls/assets/videos/Bird_Titmouse.mp4"));
            videoList.Add(Video.CreateVideo("http://solutions.brightcove.com/bcls/assets/videos/Water-Splashing.mp4"));

            MediaController controller = new MediaController(this);

            //overloads problems
            //
            brightcoveVideoView.SetMediaController(controller);

            brightcoveVideoView.AddAll(videoList);
            brightcoveVideoView.Start();

            return;
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Create your application here
            SetContentView(Resource.Layout.PlayerSimpleVideoList);

            BrightcoveVideoView brightcoveVideoView = FindViewById <BrightcoveVideoView>(Resource.Id.brightcove_video_view);

            List <Video> videoList = new List <Video>();

            videoList.Add(Video.CreateVideo(GetString(Resource.String.video)));
            videoList.Add(Video.CreateVideo(GetString(Resource.String.video)));

            MediaController controller = new MediaController(this);

            //overloads problems
            //
            brightcoveVideoView.SetMediaController(controller);

            brightcoveVideoView.AddAll(videoList);
            brightcoveVideoView.Start();

            return;
        }