4

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?

Kizer
  • 1,548
  • 2
  • 14
  • 24

1 Answers1

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