Build a Multimedia Player - Build a Multimedia Player

Tell us what’s happening:

Hello, the Multimedia Player Lab asks for a track element with a src attribute. I googled for a subtitle file but could not find one with a static link. Furthermore, the video does not play and leads to a 404 error when clicked.

Thank you,

  • Ryan

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Multimedia Player</title>
</head>

<body>
  <h1>Accessible Multimedia Player</h1>
  <section>
    <h2>Sailing Away</h2>
    <audio controls aria-label="Upbeat electronic dance rhythm.">
      <source src="https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3" type="audio/mpeg">
    </audio>
  </section>
  <section>
    <h2>What is the Map Method</h2>
    <video controls width="600" aria-label="Video instructions on how the map method work.">
      <source src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4a" type="video/mp4">
      <track src="" kind="" srclang="english" label="english">
    </video>
  </section>
  <section>
    <h2>Map Method Video Transcription</h2>
    <p>Placeholder transcription</h2>
  </section>
</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15

Challenge Information:

Build a Multimedia Player - Build a Multimedia Player

Hi there and welcome to the forum!

You can just use “link-to-subs-goes-here” as src value to pass the tests

That’s the reason:
.mp4a

1 Like