AndroidVimeoExtractor icon indicating copy to clipboard operation
AndroidVimeoExtractor copied to clipboard

Getting 403 on both public and private videos, referrer is null

Open sehgalrishabh opened this issue 4 years ago • 1 comments

VimeoExtractor.getInstance().fetchVideoWithURL(url, null, new OnVimeoExtractionListener() {
            @Override
            public void onSuccess(VimeoVideo video) {
                if (!play) {
                    try {
                        ((DetailActivity) context).runOnUiThread((Runnable) () -> Glide.with(context)
                                .load(video.getThumbs().get("base"))
                                .apply(new RequestOptions().centerCrop())
                                .into(thumbnail));
                    } catch (Exception e) {
                        ((DetailActivity) context).runOnUiThread((Runnable) () -> Glide.with(context)
                                .load(R.drawable.ic_thumb)
                                .apply(new RequestOptions().centerCrop())
                                .into(thumbnail));
                    }
                } else {
                    ((DetailActivity) context).runOnUiThread((Runnable) () -> {
                        ((DetailActivity) context).showPlayer(false);
                        ((DetailActivity) context).initializePlayer(video.getStreams().get("1080p"));
                    });
                }
            }

            @Override
            public void onFailure(Throwable throwable) {
                Log.e("vimeo", "onFailure: " + throwable.getMessage() + " url: " + url);
                //Error handling here
            }
});

URL IS https://vimeo.com/532196328

sehgalrishabh avatar Jul 08 '21 03:07 sehgalrishabh

I'm using library version 1.2.1

sehgalrishabh avatar Jul 08 '21 03:07 sehgalrishabh

Thanks for raising, but as of March 2023 this repo is now read-only. There will be no further updates

ed-george avatar Mar 22 '23 11:03 ed-george