예제 #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;
        }
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

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

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

	        MediaController controller = new MediaController(this);
	        brightcoveVideoView.SetMediaController(controller);

	        // b489a672-c3ba-4765-af8e-7fc876ef06f7
	        // ayINLNrUaYhfX9K0AI6hpqVRUlVXCRysABFpxHS0mT_4fWYoPnD5pA..
	        Catalog catalog = new Catalog("XGuquNMCweRY0D3tt_VUotzuyIASMAzhUS4F8ZIWa_e0cYlKpA4WtQ..");

	        catalog.FindPlaylistByID("2764931905001", new PlaylistListener() );

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

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

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

            MediaController controller = new MediaController(this);

            brightcoveVideoView.SetMediaController(controller);

            // b489a672-c3ba-4765-af8e-7fc876ef06f7
            // ayINLNrUaYhfX9K0AI6hpqVRUlVXCRysABFpxHS0mT_4fWYoPnD5pA..
            Catalog catalog = new Catalog("XGuquNMCweRY0D3tt_VUotzuyIASMAzhUS4F8ZIWa_e0cYlKpA4WtQ..");

            catalog.FindPlaylistByID("2764931905001", new PlaylistListener());

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

            // Create your application here
            SetContentView(Resource.Layout.PlayerSimpleWithControls);
            ActionBar.Hide();
            BrightcoveVideoView brightcoveVideoView = FindViewById <BrightcoveVideoView>(Resource.Id.brightcove_video_view);

            MediaController controller = new MediaController(this);

            brightcoveVideoView.SetMediaController(controller);

            brightcoveVideoView.Add
            (
                Video.CreateVideo
                (
                    GetString(Resource.String.video),
                    BrightcoveSDK.Player.Media.DeliveryType.Mp4
                )
            );
            brightcoveVideoView.Start();
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

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

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

            MediaController controller = new MediaController(this);

            brightcoveVideoView.SetMediaController(controller);

            brightcoveVideoView.Add
            (
                Video.CreateVideo
                (
                    "http://solutions.brightcove.com/bcls/assets/videos/Bird_Titmouse.mp4",
                    BrightcoveSDK.Player.Media.DeliveryType.Mp4
                )
            );
            brightcoveVideoView.Start();
        }