Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Michael Lockrey
Michael Lockrey
2,762 Points

How does Team Treehouse create the variable timing speeds user interface for the learning videos?

Is it possible to replicate this for YouTube videos using Javascript?

Michael Lockrey
Michael Lockrey
2,762 Points

Here's the screenshot of the Team Treehouse video player user interface element:

3 Answers

James Barnett
James Barnett
39,199 Points

You can use a plugin like video.js

http://jsbin.com/vikun/1/edit

Or you can make it yourself using HTML5

http://jsbin.com/UGIxoJis/1/edit

Michael Lockrey
Michael Lockrey
2,762 Points

Thanks so much for that James!

Can we get the videos to go triple speed? That would really whip along at a good rate! Double speed is good, of course, not complaining. Thanks for the links, James! I just checked out the great slider bar for the second link. That is great, to be able to adjust it in small increments. By the way, do you believe him?

James Barnett
James Barnett
39,199 Points

Can we get the videos to go triple speed?

If you want to make a current Treehouse video go at Triple speed, just inspect the element and change the value data-speed. That should get you pointed in the right direction.

James Barnett
James Barnett
39,199 Points

By the way, do you believe him?

I didn't make those JSBin, in fact I didn't even watch much of the video, just found them online via a Google search and checked that code worked.

I am sure of that. Just an off comment! Thanks for your help!