- Home /
Question by
agarcialeon · Mar 20, 2018 at 12:30 PM ·
webglvideourl
Videoplayer Component in WebGL with OAuth2 url.
I'm currently working on a WebGL app that does some API calls to a server where all the contents are stored.
This API uses OAuth2 authorization tokens to access the contents, so if I call the API to get a content, for example a video, to play it with the Videoplayer component I just provide the URL to the component and it loads the video.
But with this approach the video has to be publicly available so I don't know how to authorize the URL with the appropiate token so the videoplayer can load the video.
Then my question is: How can I play a video from a server that has OAuth authorization mechanism using the videoplayer component?
Thanks in advance.
Comment