All threads / Anyone had luck with Active Storage and Cloud Front?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Anyone had luck with Active Storage and Cloud Front?

Dalton Cole asked in General

Hey everyone,

I am working on an on demand video site that would (ideally) involve a user uploading a video via rails active storage direct upload to s3, then that video being served up via cloudfront to other users. With some elemental mediaconvert action happening.

Has anyone has any success with CDN's and Active Storage?

Unfortunately, ActiveStorage isn't currently flexible enough on the processing side of things.

You'll be better off using Shrine if you want to do any transcoding right now (unless you pay a service to do transcoding for you). I've used streamio-ffmpeg with Shrine to convert videos before.

https://gorails.com/episodes/shrine-background-and-video-transcoding

Looks like I was about 3 minutes ahead of you, already started watching that lesson. Thanks!

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,399+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.