Thank you for this video you created Deanin! I am implementing something similar on a blog app
@lucazimmermann61924 жыл бұрын
really beautiful . 1 question how I can display all video into a single page /app/views/index.html.erb ?
@fabioros903 жыл бұрын
thank you for this video!
@Brenovisk73 жыл бұрын
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?
@natekandler33596 жыл бұрын
Really great stuff, thanks!
@Boudoire926 жыл бұрын
Thanks man ! I loved it !
@francodiaz84393 жыл бұрын
its a video for mp3 sounds or something?
@parthikmodi94995 жыл бұрын
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 ?
@bladeddev42092 жыл бұрын
Thanks so much
@Deanin2 жыл бұрын
Glad it helped!
@bladeddev42092 жыл бұрын
@@Deanin Is there a way to connect active-storage video uploads to youtube
@Deanin2 жыл бұрын
@@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
@bladeddev42092 жыл бұрын
@@Deanin That's very helpful, thanks so much!
@donsun15614 жыл бұрын
thanks this was so clear and simple 'ppreciate it!