Active Storage For Video Uploads | Ruby On Rails 5.2 Tutorial

  Рет қаралды 8,603

Deanin

Deanin

Күн бұрын

Пікірлер: 18
@willhagan2299
@willhagan2299 5 жыл бұрын
Your videos are sensational. Thanks so much.
@geo2465
@geo2465 6 жыл бұрын
your videos are the best, please keep doing it,
@FranciscoHernandez-ij3kd
@FranciscoHernandez-ij3kd 5 жыл бұрын
Thank you for this video you created Deanin! I am implementing something similar on a blog app
@lucazimmermann6192
@lucazimmermann6192 4 жыл бұрын
really beautiful . 1 question how I can display all video into a single page /app/views/index.html.erb ?
@fabioros90
@fabioros90 3 жыл бұрын
thank you for this video!
@Brenovisk7
@Brenovisk7 3 жыл бұрын
I'm getting "Can't resolve image into URL: undefined method `attachment_url' for #" when trying to show the video's thumbnail. Can anybody help me?
@natekandler3359
@natekandler3359 6 жыл бұрын
Really great stuff, thanks!
@Boudoire92
@Boudoire92 6 жыл бұрын
Thanks man ! I loved it !
@francodiaz8439
@francodiaz8439 3 жыл бұрын
its a video for mp3 sounds or something?
@parthikmodi9499
@parthikmodi9499 5 жыл бұрын
I am using ffmpeg to convert the video into audio but it seems that video is not recognized by ffmpeg. Moreover, if do the same on existing video from local pc then i am able to convert video into audio I am using following commands video_to_audio_command = "ffmpeg -i #{@video.clip} audio.flac" system("#{video_to_audio_command}") not worked for me . but if I give absolute video path from pc instead of #{video.clip} then it worked. how to convert video stored in active soterage into audio ?
@bladeddev4209
@bladeddev4209 2 жыл бұрын
Thanks so much
@Deanin
@Deanin 2 жыл бұрын
Glad it helped!
@bladeddev4209
@bladeddev4209 2 жыл бұрын
@@Deanin Is there a way to connect active-storage video uploads to youtube
@Deanin
@Deanin 2 жыл бұрын
@@bladeddev4209 Not directly as far as I know. In theory you could probably do something. The KZbin API is going to be pretty hefty though. I think for a regular GET request you use 1/10000 of your quota. For a video upload, you'd use 1600/10000 of your quota? So you'd probably give your video an after_create function that then takes the active storage video and uploads it to KZbin. Downloading a video would probably involve giving the Rails app a video link and downloading it somehow with Ruby in the background? Not entirely sure off the top of my head. Here's the V3 KZbin api as a reference. Hope this helps at least a little bit. developers.google.com/youtube/v3/getting-started
@bladeddev4209
@bladeddev4209 2 жыл бұрын
​@@Deanin That's very helpful, thanks so much!
@donsun1561
@donsun1561 4 жыл бұрын
thanks this was so clear and simple 'ppreciate it!
@foxtail3296
@foxtail3296 5 жыл бұрын
Great!
@timetails9610
@timetails9610 6 жыл бұрын
Lol 2 videos in a roll : )
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 883 М.
Active Storage For File Uploads | Ruby on Rails 7 Tutorial
20:51
EASY Image Uploads in Rails with ActiveStorage
15:55
Ken Greeff
Рет қаралды 204
Rails 5.2 ActiveStorage Introduction
20:55
GoRails
Рет қаралды 22 М.