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.

HTML HTML Video and Audio (Retired) Captioning Video The Track Element

No CC option on controls, no subtitles

Is there something I'm not seeing in my code?

 <video controls>
    <source src="http://treehouse-code-samples.s3.amazonaws.com/html-video-and-audio/bridge.mp4" type="video/mp4">
    <source src="http://treehouse-code-samples.s3.amazonaws.com/html-video-and-audio/bridge.ogg" type="video/ogg">
    <track label="English" kind="subtitles" srclang="en" src="bridge-captions.vtt" default>

I've stared at this for a while and it all seems just like in the video, but when I load my page I get no subtitles nor CC option on the controls bar. Read someone else's question about this same issue and they recommended adding "./" or "../" to the src. Didn't matter for me; and my .vtt is in the same directory as my html file. I'm using Chrome Version 56.0.2924.87 (64-bit) on Linux Mint 17.3 Cinnamon. Not using Workspaces (wouldn't load) so set up web server with XAMPP. Atom is my text editor.

Travis Carney
.a{fill-rule:evenodd;}techdegree seal-36
Travis Carney
Front End Web Development Techdegree Graduate 17,797 Points

I am having the same problem. I i remove the default attribute a little closed caption box appears like I can select something but then it disappears when you click on it. I am also running Chrome 56.0.2924.87

Brandon Zucker
Brandon Zucker
11,256 Points

I am having the same issue. My code looks the same, and I validated my VTT file. Not sure what is going on.

1 Answer

Savannah Lynn
Savannah Lynn
13,662 Points

I am having this issue as well. Seeing this on all modern browsers.