Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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!