The Video doesnt plays and i am using Chrome to test it and still not working. Kindly Check my Codes. Thank You.

+1 Muhammad Yasin · January 13, 2016
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
</head>

<body style="background-color:#8EE5EE;">

<div id="big_wrapper">

<video src="https://www.youtube.com/watch?v=JHjY2kR317k" width="640" height="360" controls>
</video>

</div>

</body>
</html>

Post a Reply

Replies

Oldest  Newest  Rating
0 Sampan Verma · January 16, 2016
The video tag has not been used properly. You have to use src tag as well as video tag and you cannot just copy url and paste it as a source. Because when you refer to that page, it is a page not a video so. You need to find the video source. Ofcourse you can do that illegally but even that link will expire in 1 to 2 days.
If you want to link the video on your page, there is an option provided by youtube to embed a video your page. Just copy that code and paste it in your source.
0 Abdullah Akyel · January 15, 2016
Hi, you need to embed the video on youtube.
This is the code of your video

<iframe width="560" height="315" src="https://www.youtube.com/embed/JHjY2kR317k" frameborder="0" allowfullscreen></iframe>
  • 1

HTML / CSS / Web Design

130,021 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators