Tell me how to pull Id from the following link:
https://vimeo.com/api/v2/video/183364240.json Made by analogy with youtube:
else if (input.contains("vimeo")) { vimeoUrl = "https://www.vimeo.com/"; String vimeoId = uri.getQueryParameter("v"); if (TextUtils.isEmpty(vimeoId)) { String[] str = input.split("/"); vimeoId = str[str.length - 1]; vimeoUrl = "https://vimeo.com/api/v2/video" + uri.getPath(); Log.d("vimeoUrl", vimeoUrl + " " + controlList.get(23).getImageUploads().size()); return vimeoUrl; Without a clue how to declare vimeoId, since the v parameter shown above does not contain v.