All threads / Duration of a video in the listing page

Ask A Question

Notifications

You鈥檙e not receiving notifications from this thread.

Duration of a video in the listing page

rabin prithvi asked in Site Feedback

Duration of a video in the listing page would be highly useful to select a video to watch.

Seems like you prefer a short duration video?
So do I
Maybe we can ask Chris to make video with shorter duration? 馃槄
It usually takes 15-20 minutes when I'm sure he can make it shorter
15-20 minutes is too long imho

Agreed. :) I'm going to update the list to include the durations shortly.

And yeah, my ideal length is 15-20 minutes, but because the audience is a wide range of beginner to advanced Rails devs, it's hard to cover everything in that time. I should probably start splitting episodes up into two parts to handle that better.

Chris ~ May I ask how you are handling/doing the duration of the video on the listing page? Are you saving it in the database? if you are saving it in the database, which data type are you using? are you entering it manually? are you using a gem? Thank you!

JP, I'm storing it as an integer, total number of seconds. Then I convert it to whatever display format I want and that gives me the flexibility to change it and/or calculate the total duration of a series too.

Join the discussion

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

Join 52,887+ 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

    © 2021 GoRails, LLC. All rights reserved.