mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: replace file name to one that does not have spaces (#62877)
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ demoType: onClick
|
||||
3. Inside the first `section` element, you should have an `h2` element for the title of the video playing.
|
||||
4. Below the `h2` element, you should have a `video` element with `controls` and `width` attributes. The `width` attribute should be set to `640`.
|
||||
5. Inside the `video` element, you should have a `source` element with a `src` attribute pointing to a video file and a `type` attribute.
|
||||
- You can use `https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4`.
|
||||
- You can use `https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4`.
|
||||
6. Inside the second `section` element, you should have an `h2` element for the title of the song playing.
|
||||
7. Below the `h2` element, you should have an `audio` element with the `controls` and `loop` attributes, and a `src` attribute that points to an audio file.
|
||||
- You can use `https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3`.
|
||||
@@ -217,7 +217,7 @@ assert.match(srcAttr, /\.(mp3|wav|ogg|aac|flac)$/i);
|
||||
<section>
|
||||
<h2>What is the map method and how does it work</h2>
|
||||
<video controls width="640">
|
||||
<source src="https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4" type="video/mp4" />
|
||||
<source src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4" type="video/mp4" />
|
||||
</video>
|
||||
</section>
|
||||
|
||||
|
||||
+2
-2
@@ -40,7 +40,7 @@ The `source` element can also be used in the `video` element like this:
|
||||
5. Inside the `audio` element, you should have a `source` element with a `src` attribute pointing to an audio file and a `type` attribute. You are free to use this audio URL if you like: `https://cdn.freecodecamp.org/curriculum/js-music-player/sailing-away.mp3`
|
||||
6. Inside the second `section` element, you should have an `h2` element for the title of the video playing.
|
||||
7. Below the `h2` element, you should have a `video` element with `controls`, `width` attributes and an `aria-label` attribute.
|
||||
8. Inside the `video` element, you should have a `source` element with a `src` attribute pointing to a video file and a `type` attribute. You are free to use this video URL if you like: `https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4`
|
||||
8. Inside the `video` element, you should have a `source` element with a `src` attribute pointing to a video file and a `type` attribute. You are free to use this video URL if you like: `https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4`
|
||||
9. Below the `source` element, you should have a `track` element with a `src` attribute pointing to a subtitles file and a `kind` attribute, a `srclang` attribute and a `label` attribute.
|
||||
10. Inside the third `section` element, you should have an `h2` element for the title of the section eg. "Transcript".
|
||||
11. Below the `h2` element, you should have a `p` element with the transcript of the video.
|
||||
@@ -323,7 +323,7 @@ assert.isAbove(transcript.textContent.trim().length, 0);
|
||||
<section>
|
||||
<h2>What is a map method and how does it work?</h2>
|
||||
<video controls width="600" aria-label="What is a map method and how does it work?">
|
||||
<source src="https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4" type="video/mp4">
|
||||
<source src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4" type="video/mp4">
|
||||
|
||||
<track
|
||||
src="what-is-a-map-method.vtt"
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ To add captions or subtitles to your video or audio content, you can use the `tr
|
||||
width="400"
|
||||
height="300"
|
||||
controls
|
||||
src="https://cdn.freecodecamp.org/curriculum/labs/What is the map method and how does it work.mp4"
|
||||
src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4"
|
||||
>
|
||||
<track
|
||||
src="captions.vtt"
|
||||
|
||||
Reference in New Issue
Block a user