- Home /
VideoPlayer+UnityWebRequest
I've been trying to use VideoPLayer with an URL (http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4) and it works great. My problem now is that the video i'd like to play is in a Google Cloud Bucket that is not public. I can use UnityWebRequest.Get with an access token in a Header to get the video but I was wondering if there's any way to join both classes without having to first download the whole video.
Answer by misher · Sep 04, 2018 at 03:48 PM
You can create a clout API which will expose your file, and then use url for that API to feed your video player. If you have security concerns you can make your API accept some secret token as a query parameter, in other case just make your file in bucket public.
Your answer
Follow this Question
Related Questions
Servers stress / workload with WebGL medias requested by VideoPlayer 0 Answers
Play, seek a video 1 Answer
Failed to connect to localhost port 80: Connection refused 2 Answers
Stop streaming video from server /w VideoPlayer 0 Answers
How can I download and play a movie not using the WWW class? 1 Answer