protected internal override void onCreate(Bundle savedInstanceState)
		{
			// When extending the BrightcovePlayer, we must assign the BrightcoveVideoView
			// before entering the superclass. This allows for some stock video player lifecycle
			// management.
			ContentView = R.layout.activity_main;
			brightcoveVideoView = (BrightcoveVideoView) findViewById(R.id.brightcove_video_view);
			base.onCreate(savedInstanceState);

			// Add a test video to the BrightcoveVideoView.
			Catalog catalog = new Catalog("ZUPNyrUqRdcAtjytsjcJplyUc9ed8b0cD_eWIe36jXqNWKzIcE6i8A..");
			catalog.findVideoByID("3637288623001", new VideoListenerAnonymousInnerClassHelper(this));
		}
        protected internal override void onCreate(Bundle savedInstanceState)
        {
            // When extending the BrightcovePlayer, we must assign the BrightcoveVideoView
            // before entering the superclass. This allows for some stock video player lifecycle
            // management.
            ContentView         = R.layout.activity_main;
            brightcoveVideoView = (BrightcoveVideoView)findViewById(R.id.brightcove_video_view);
            base.onCreate(savedInstanceState);

            // Add a test video to the BrightcoveVideoView.
            Catalog catalog = new Catalog("ZUPNyrUqRdcAtjytsjcJplyUc9ed8b0cD_eWIe36jXqNWKzIcE6i8A..");

            catalog.findVideoByID("3637288623001", new VideoListenerAnonymousInnerClassHelper(this));
        }
		protected internal override void onCreate(Bundle savedInstanceState)
		{
			// When extending the BrightcovePlayer, we must assign the BrightcoveVideoView
			// before entering the superclass. This allows for some stock video player lifecycle
			// management.
			ContentView = R.layout.omniture_activity_main;
			brightcoveVideoView = (BrightcoveVideoView) findViewById(R.id.brightcove_video_view);
			base.onCreate(savedInstanceState);

			eventEmitter = brightcoveVideoView.EventEmitter;

			setupOmniture();

			// Add a test video to the BrightcoveVideoView.
			Catalog catalog = new Catalog("ErQk9zUeDVLIp8Dc7aiHKq8hDMgkv5BFU7WGshTc-hpziB3BuYh28A..");
			catalog.findPlaylistByReferenceID("stitch", new PlaylistListenerAnonymousInnerClassHelper(this));
		}
        protected internal override void onCreate(Bundle savedInstanceState)
        {
            // When extending the BrightcovePlayer, we must assign the BrightcoveVideoView
            // before entering the superclass. This allows for some stock video player lifecycle
            // management.
            ContentView         = R.layout.omniture_activity_main;
            brightcoveVideoView = (BrightcoveVideoView)findViewById(R.id.brightcove_video_view);
            base.onCreate(savedInstanceState);

            eventEmitter = brightcoveVideoView.EventEmitter;

            setupOmniture();

            // Add a test video to the BrightcoveVideoView.
            Catalog catalog = new Catalog("ErQk9zUeDVLIp8Dc7aiHKq8hDMgkv5BFU7WGshTc-hpziB3BuYh28A..");

            catalog.findPlaylistByReferenceID("stitch", new PlaylistListenerAnonymousInnerClassHelper(this));
        }
		protected internal override void onCreate(Bundle savedInstanceState)
		{
			// Establish the video object and use it's event emitter to get important notifications
			// and to control logging and media.
			ContentView = R.layout.basic_widevine;
			brightcoveVideoView = (BrightcoveVideoView) findViewById(R.id.bc_video_view);
			base.onCreate(savedInstanceState);

			// Set up the DRM licensing server to be handled by Brightcove with arbitrary device and
			// portal identifiers to fulfill the Widevine API contract.  These arguments will
			// suffice to create a Widevine plugin instance.
			string drmServerUri = "https://wvlic.brightcove.com/widevine/cypherpc/cgi-bin/GetEMMs.cgi";
			string deviceId = "device1234";
			string portalId = "brightcove";
			new WidevinePlugin(this, brightcoveVideoView, drmServerUri, deviceId, portalId);

			// Create the catalog object which will start and play the video.
			Catalog catalog = new Catalog("FqicLlYykdimMML7pj65Gi8IHl8EVReWMJh6rLDcTjTMqdb5ay_xFA..");
			catalog.findVideoByID("2142125168001", new VideoListenerAnonymousInnerClassHelper(this));
		}
Example #6
0
        protected internal override void onCreate(Bundle savedInstanceState)
        {
            // Establish the video object and use it's event emitter to get important notifications
            // and to control logging and media.
            ContentView         = R.layout.basic_widevine;
            brightcoveVideoView = (BrightcoveVideoView)findViewById(R.id.bc_video_view);
            base.onCreate(savedInstanceState);

            // Set up the DRM licensing server to be handled by Brightcove with arbitrary device and
            // portal identifiers to fulfill the Widevine API contract.  These arguments will
            // suffice to create a Widevine plugin instance.
            string drmServerUri = "https://wvlic.brightcove.com/widevine/cypherpc/cgi-bin/GetEMMs.cgi";
            string deviceId     = "device1234";
            string portalId     = "brightcove";

            new WidevinePlugin(this, brightcoveVideoView, drmServerUri, deviceId, portalId);

            // Create the catalog object which will start and play the video.
            Catalog catalog = new Catalog("FqicLlYykdimMML7pj65Gi8IHl8EVReWMJh6rLDcTjTMqdb5ay_xFA..");

            catalog.findVideoByID("2142125168001", new VideoListenerAnonymousInnerClassHelper(this));
        }