Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Create a Media Player with MediaElement.js!

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Learn how to customize the functionality of the MediaElement player.
Links
MediaElementPlayer configuration docs
Code
This is the code we use in the video to customize the player:
$('video, audio').mediaelementplayer({
features: ['playpause', 'tracks', 'progress'],
startLanguage: 'en'
});
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Daniel Cranney
11,609 Points1 Answer
-
Hernan Diaz
7,197 Points1 Answer
-
TzeYang Chew
12,039 Pointswhy is the tracks and startLanguage: 'en ' is not working
Posted by TzeYang ChewTzeYang Chew
12,039 Points1 Answer
-
Saqib Ishfaq
13,912 Pointswhat am doing i wrong? setting different options for player won't work:/
Posted by Saqib IshfaqSaqib Ishfaq
13,912 Points1 Answer
-
Victor Terzea
4,747 Points1 Answer
-
Ole Vølund Skov Mortensen
27,842 Points1 Answer
-
Rick Klaras
20,183 Points1 Answer
-
Ozgur Parlakkilic
8,399 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up