How to use vimeo player without showing the link when there is problem with network or other erros

145 Views Asked by At

I am using vimeo player in my android app. I am using webview of vimeo player. It works fine in my app. But if due to some reason,netwrk problem arises or I turn of my mobile data, the webview of the vimeo player shows the link of the video. This should not be happened in my case as I am selling online videos. If someone gets my video link, they can simply watch that video outside my app. But I don't want that. I gone through the net , no answer are there. kiny help me if you .. Thanks

1

There are 1 best solutions below

0
Vikas Bhukar On

If you are selling videos online then as per my view not to use webview instead of that you can use custom video player and can pass vimeo video url to this player at the time of playing.

  1. For this you can save video url at server end so that if more visitors there, you will provide same video path from backend and this will save you the no. of api hits (that is limited for Vimeo)
  2. On custom player you have full control on all events and people will not identify from where these videos are hosted.