Open ChrisMcHarvey opened 3 years ago
Also a related question: is it possible to pass variables to the url component since I'm computing the signed URL outside the component url statement?
Do you have any information on whether or not this is also useable with signed Cloudfront urls?
Would appreciate any information. I'm a bit new to React and am having trouble integrating this with a signed url.
I'm not extremely familiar with Cloudfront, however, if the content you're trying to serve is an HLS stream then it should work with this component. A Google search turned up this post. Let me know if this works for you 🙂
Also a related question: is it possible to pass variables to the url component since I'm computing the signed URL outside the component url statement?
The url changing should also make the video component reload with the new url. So you can compute the URL outside of this, you'll just need to make sure you are getting the url as a string passed in to the component at some point.
This has been phenomenally helpful, thank you! I'll follow up with another comment of exactly how I get it done for anyone who's curious in the future.
Adding documentation label. Would like to add documentation on how to use this component with Cloudfront URLs. Possibly in a repo Wiki?
Do you have any information on whether or not this is also useable with signed Cloudfront urls?
Would appreciate any information. I'm a bit new to React and am having trouble integrating this with a signed url.