Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ To complete this task:
5. Make the video muted by default.
6. Display the text tracks contained in the `subtitles_en.vtt` file when the video is playing. You must explicitly set the type as subtitles, and the subtitle language to English. Also set the `default` attribute so that the track is displayed by default.
> [!NOTE]
> A copy of the subtitles file is located in the same directory as this page to avoid [crossorigin](/en-US/docs/Web/HTTP/Guides/CORS) problems: if you are completing the task live on MDN via the MDN Playground, the path you need is just `subtitles_en.vtt`. If you decide to recreate the example on your local file system, you can find a copy at the path `https://github.com/mdn/learning-area/raw/refs/heads/main/html/multimedia-and-embedding/tasks/audio-video/subtitles_en.vtt`.
> If you are completing the task live on MDN via the MDN Playground, the path you need is `/shared-assets/misc/subtitles_en.vtt`. If you decide to recreate the example on your local file system, you can find a copy at the path `https://mdn.github.io/shared-assets/misc/subtitles_en.vtt`.
7. Make sure the readers can identify the subtitle language when they use the default controls.

The starting point of the task looks like this:
Expand Down Expand Up @@ -129,7 +129,7 @@ Your finished HTML should look like this:
type="video/webm" />
<track
kind="subtitles"
src="subtitles_en.vtt"
src="/shared-assets/misc/subtitles_en.vtt"
Comment thread
chrisdavidmills marked this conversation as resolved.
Resolved
srclang="en"
label="English"
default />
Expand Down

This file was deleted.

Loading