title: i want to share video to whatsapp thta video is playing inside my app in video_player activity
body: <p>I have video links inside my app and by clicking on video  that video is start playing inside my app in video_player activity on clicking of share button i want to share that video to WhatsApp or other social apps</p>
  
  <pre><code>    url = getIntent().getStringExtra("live_video_url");
              Log.e("url" , "--&gt;"+url);
      Intent shareIntent = new Intent ( );
      shareIntent.setAction ( Intent.ACTION_SEND ); // temp permission for receiving app to read this file
      shareIntent.setType ( "text/plain" );
      shareIntent.setFlags ( Intent.FLAG_ACTIVITY_CLEAR_TOP );
      shareIntent.putExtra ( Intent.EXTRA_TEXT, "https://com.careerguide"+url );
      startActivity ( Intent.createChooser ( shareIntent, "Choose an app" ) );
  </code></pre>