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

Controls aren't showing up

Despite following the video and installation instructions, I still can't see the controls on my video and audio files. I've tried adding class="mejs__player" and using the script recommended in the video. I've checked the links at the top of my HTML, the paths to my files, etc.

Could someone please tell me what I'm doing wrong here?

Here's a link to my workspace: https://w.trhou.se/1kszou9ugb

1 Answer

Steven Parker
Steven Parker
229,732 Points

The snapshot code doesn't have the class to make the controls available.

But when I added it on line 22 of index.html, they appeared and operated as expected:

        <video width="600" height="400" class="mejs__player">