I am developing vimeo video app in native android. But it is not supported in VideoView
. May I know any samples or related query for Android. I want final output to be in .mp3/.mp4 format.
I have tried iframe
in Android WebView
, It works well in Android WebView
but I am not able to get seek bar. And OnPause()
not able to Pause the video.
Here I am able to get Pause and Play button Only
Example: player.vimeo.com/video/49462103
I want play this video in android native
<VideoView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/videoView"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
Update link in : Vimeo site Thread-1 Vimeo site Thread-2
I am getting above error
You can use Exoplayer to play vimeo Videos. Exoplayer is more customizable. All you need is to extract the url link from the video config link. You may use retrofit to extract the video url.
BASE_URL = "https://player.vimeo.com/video/"
You will need to use a get method like below:
You will get the id from video link. Example: "https://vimeo.com/123456789/" Here the id is: 123456789 .
Don't forget to initiate Exoplayer first.