title: How to play video in fragment
body: <p>I want to display video in fragment 
  I have used this code to play it, it worked</p>
  
  <pre><code>   View rootView = inflater.inflate(R.layout.quranic_section, container, false);
  
      VideoView view = (VideoView)rootView.findViewById(R.id.video_view);
      String path = "android.resource://" + getActivity().getPackageName() + "/" + R.raw.howtopray;
      view.setVideoURI(Uri.parse(path));
      view.start();
  </code></pre>
  
  <p>but i want to add button like play stop resume .. how can I do it ?</p>