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

Links to "Include JavaScript and CSS" not available anymore on Mediaelements.js homepage.

Hello, in minute 2.18 of https://teamtreehouse.com/library/adding-mediaelementjs we are asked to scroll down the home page of mediaelements.js to get the links to include javascript and css... but the homepage doesn't have them anymore... there are now only links to github. Where can I now get these links? Thanks

1 Answer

on their github. https://github.com/mediaelement/mediaelement/blob/master/docs/installation.md#install

there you can for instance follow one of the links to the CDN providers, where you can simply copy the code you need to put in your files, such as:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/4.1.3/mediaelementplayer.min.css" />

Thanks James, but in the video the instructor uses the local file path. I wanted to see if I could use it instead of having to write it all out.