Ask A Question

Notifications

You’re 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.

Reply

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

Reply

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.

Reply

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!

Reply

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.

Reply

Thank you!!

Reply
Join the discussion
Create an account Log in

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

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

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