In android
First of all . add the io.vov.vitamio.widget package to your project.
2. Then define the video image in your xml layout file ...
3. Then use this code in your java file. Make sure you import packages available in vimeo package
videoView.setVideoURI(Uri.parse(path)); videoView.setMediaController(new MediaController(this)); videoView.requestFocus(); videoView.start();
And everything is done.
source share