Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useable with signed Cloudfront urls? #22

Open
ChrisMcHarvey opened this issue Feb 17, 2021 · 4 comments
Open

Useable with signed Cloudfront urls? #22

ChrisMcHarvey opened this issue Feb 17, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@ChrisMcHarvey
Copy link

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.

@ChrisMcHarvey
Copy link
Author

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?

@devcshort
Copy link
Owner

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.

@ChrisMcHarvey
Copy link
Author

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.

@devcshort devcshort added the documentation Improvements or additions to documentation label Mar 23, 2021
@devcshort
Copy link
Owner

Adding documentation label. Would like to add documentation on how to use this component with Cloudfront URLs. Possibly in a repo Wiki?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants