Open vimeo app in my android app?

I need to show a Vimeo video in my application, I tried to open the URL in a web browser, the url appears, but when I link the play button, the player does not work. Therefore, I want to try to open the video using the Vimeo application, but I do not know how to call the Vimeo application from my application. Can someone help me please? Thanks!

+4
source share
2 answers

Run the video in full screen mode with the official Vimeo app com.vimeo.android.videoapp :

 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://player.vimeo.com/video/"+ADD_VIDEO_ID_HERE))); 
+7
source

Possible duplicate: How to send a link to Vimeo?

We have created a simple library that can take care of this for you. Here is the open source github .

compile 'com.vimeo.android.deeplink:vimeo-deeplink:1.0.0'

README will take a closer look, but this is what you want to use:

boolean handled = VimeoDeeplink.showVideoWithUri(Context context, String videoUri)

+1
source

Source: https://habr.com/ru/post/1400419/


All Articles