Lesson 8: Video


#1


https://www.codecademy.com/en/courses/make-a-website/lessons/site-structure/exercises/add-video?action=resume


I'm not getting any error messages, at first it read: "must be paired with :>" but I added ">" The second exercise is not being checked off because the video won't play.


<video width="320" height="240" controls>
  <source src="video-url.mp4" type="video/mp4">"https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4"
</video>


#3

i am still having a problem because the video cant play.After doing this

"https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4"


#7

Please paste in your full code


#8

This URL should be the src of the video, so replace video-ur1.mp4 with the video URL


#9

it is not working
someone should answer it correctly please


#10

i have the same issue, this is the code i am using:

<video width="320" height="240" controls src="https://s3.amazonaws.com/codeacademy-content/projects/make-a-website/lesson-1/ollie.mp4" type="video/mp4">
 </video>

i also used this:

<video width="320" height="240" controls><source src="https://s3.amazonaws.com/codeacademy-content/projects/make-a-website/lesson-1/ollie.mp4" type="video/mp4">
 </video>

#11

Having the same issue,i put the video, after before in out outside etc...

<body>
  <h1>Ollie bike Sharing</h1>
  <h3>Share your Pedals with the World </h3>
  <p>Need a set of wheels while you're in town? Use 	Ollie to pair your perfect vacation with a stylish, affordable bike rental.
    Here is a <a href="cities.html">list</a> list of cities where you can find us.
     
  </p>
  <video width="320" heigth="240" controls>
    <source src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4" type="video/mp4">
 </video> 

  
</body>
</html>

#13

I am having the same problem with the Video,,, Pls Help me
Here is my code:




Ollie Bike Sharing




Ollie Bike Sharing


Share Your Pedals with the World.



Need a set of wheels while you're in town? Use Ollie to pair your perfect vacation with a stylish, affordable bike rental. Here is a list of cities where you can find us.






Some one explain me what to do...

#15

dont put that extra video url.mp4 stuff i just put
<source src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4" and it worked


#16

@superblife, @ibrahimburi, @akinolumuyide, @elena_mn, @camelt0e, @bionicjello, @xxxritvikxxx, @blogpro56045
Try it by using

<!DOCTYPE html>
<html>
<head>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>

  <div class="container">
    <div class="nav">
       <h2>Ollie</h2>
       <ul>
          <li>sign up</li>
          <li>search bikes</li>
          <li>reserve a bike</li>
          <li>about us</li>
       </ul>
    </div>

    <div class="main">
      <h1>Ollie Bike Sharing</h1>
      <h3>Share Your Pedals with the World.</h3>
      <p>This is a paragraph, describing the comp</p>
      <p>Here is a 
          <a href="cities.html">list</a>
          of cities where you can find us.</p>
      <video width="320" height="165" controls>
        <source src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4" type=video/mp4>
       </video>
    </div> <!-- end of =main= section -->
  </div> <!-- end of =container= with =nav= and =main= sections -->
</body>
</html>

#17

same problem, can't get passed the video portion of lesson 8.


#18

Thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


#19

Thanks!It work. I dont know why my code doesnt work........


#20

@blogpro56045
...Maybe because did not have a container with a nav and main section ??


#21

It would be great if we all knew how to use classes before we learn how to embed a video in html.


#22

@gigasolver26705
Then do the HTML & CSS course......


#23

If you need help please create a new topic with details


#24