I am developing a website that makes use of vimeo and, for mobile devices, I want the video to be played using the phone's native player. Is there any way to accomplish this?
Asked
Active
Viewed 1,963 times
1 Answers
0
In android
First of all . add io.vov.vitamio.widget package in your project .
2. Then define a videoview in your xml layout file ...
3. Then use this code in your java file. Make sure that you are importing packages available in vimeo package
videoView.setVideoURI(Uri.parse(path));
videoView.setMediaController(new MediaController(this));
videoView.requestFocus();
videoView.start();
And its done.

Jan
- 859
- 7
- 30
-
1
-
@JanshairKhan i want to develop in native app http://stackoverflow.com/questions/35520783/vimeo-video-play-in-android-native – Rao's Feb 20 '16 at 11:07
-
-
-
@JanshairKhan I am not able to play this video https://player.vimeo.com/video/49462103 i tried as per your guidline – Rao's Feb 20 '16 at 17:15
-
-