Android-Oembed-Video icon indicating copy to clipboard operation
Android-Oembed-Video copied to clipboard

Playing Domain Restricted Wistia Videos

Open kavitamp opened this issue 4 years ago • 4 comments

Hello @TalbotGooday Team, Is there a way to play the Domain Restricted Wistia video in this VideoView? Thank you!

kavitamp avatar Feb 02 '21 10:02 kavitamp

Hi! Could you please send me an example of such a video?

TalbotGooday avatar Feb 02 '21 10:02 TalbotGooday

Sure @TalbotGooday, Inside Wistia settings, we have an option to keep our videos restricted to certain domains. Please refer to the attached screenshot. Let's consider a scenario: My web & mobile application is using the Wistia service to play different videos, to make videos secure I have added domain restrictions. If I try to play the same videos on mobile, those are not working, whereas all the domain-restricted videos are getting played on the web, as we have added the web domain. Hence, I have two questions:

  1. Is there a way to define a domain for mobile applications?
  2. Are there any setups/code changes required to play a domain-restricted video on the mobile?

If possible could you please help me to play the domain-restricted videos in this application? Thank you.

Screenshot 2021-07-29 at 11 27 42 PM

kavitamp avatar Jul 29 '21 18:07 kavitamp

@kavitamp It's nice to see you again! I'm not really sure that it's really possible. According to the Wistia docs section about Domain Restrictions I will not be able to get any embedded information with such settings.

The only thing I can think of is to try to redirect to the video via your domain, which you add to the allowed list.

In any case, if you provide me with a link to a similar video and the name of the domain that is on your allowed list, then I can try experimenting and try to find a solution.

TalbotGooday avatar Jul 29 '21 19:07 TalbotGooday

Hi @TalbotGooday, Thanks for the quick reply. Even I had investigated a lot, I think embedding video on that particular domain & playing it through a webView could be the only solution for mobile applications.

Sorry, but I don't have any domain to share right now, please share the domain if you have any, I will add it to the list.

For reference, I am sharing the StackOverflow question link, which I had posted. It has the demo video link which has domain restrictions. I had added the random domains for the testing.

Thanks!

kavitamp avatar Jul 30 '21 07:07 kavitamp