package com.dome.pokiiez;



import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.app.Activity;
import android.view.Menu;
import android.widget.MediaController;
import android.widget.VideoView;

public class Shootvi extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.shotvi);


		startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.youtube.com/watch?v=xdnWTEKfRaA&feature=youtu.be")));
		//VideoView video = (VideoView) findViewById(R.id.video_view);
		
		//MediaController mc = new MediaController(this);
		//video.setMediaController(mc);
		
		
		//set path
		//video.setVideoPath("android.resource://com.dome.pokiiez/raw/durant1");
		//video.setVideoPath(Environment.getExternalStorageDirectory() + "/data/Durant.mp4");
		
		//video.setVideoPath(Environment.getExternalStorageDirectory() + "/data/newBasketball/Durant.mp4");
		
		//video.start();
	}
}
