示例#1
0
 /**
  * Plays the media specified by the source. These won't normally be used in the most elementary
  * applications, because videoView brings up its own player controls when the video is touched.
  */
 @SimpleFunction(description = "Starts playback of the video.")
 public void Start() {
   Log.i("VideoPlayer", "Calling Start");
   if (inFullScreen) {
     container
         .$form()
         .fullScreenVideoAction(FullScreenVideoUtil.FULLSCREEN_VIDEO_ACTION_PLAY, this, null);
   } else {
     if (mediaReady) {
       videoView.start();
     } else {
       delayedStart = true;
     }
   }
 }