HTML5 Video not appearing

+2 Robert Summers · September 25, 2014
I am on Bucky's 29th HTML5 Video Tutorial and have followed him on his videos. I cannot get my code to work, any help is appreciated, Thank You. 


<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="main.css"/>
<script src="robert.js"></script>
<section id="skin">
<video id="myMovie" width="640" height="360">
<source src="myvid.mp4">
<div id="buttons">
<button type="button" id="playButton">Play</button>
<div id="defaultBar">
<div id="progressBar"></div>
<div style="clear:both"></div> <!--This line is needed-->

CSS File

header, section, footer, aside, nav, article, hgroup{
margin:10px auto;
border:4px solid black;
border-radius: 10px;
margin:5px 0px;

Thanks for the help in return

Post a Reply


- page 1
Oldest  Newest  Rating
0 Franz Schmidt · September 26, 2014
You'r right :/
I really can't find any possible reason why it doesn't work for you:(
0 Robert Summers · September 26, 2014
You dont need xampp, bucky has never said for for html, css or javascript. Only PHP and other languages.
0 Franz Schmidt · September 25, 2014
Did you make sure xampp (apache) is running?
0 Robert Summers · September 25, 2014
Still Nothing :/
0 Franz Schmidt · September 25, 2014
Try to implement the css code directly in the html doc by using <style type="text/css"></style>
0 Robert Summers · September 25, 2014
Strange then, I cant run my code so I don't know to be honest. I just get a blank page on chrome. 
0 Franz Schmidt · September 25, 2014
I don't know what your problem is when I run your code everything looks nice:

And the image which you see here is the default image of the video.
It's also shown on your file in your directory:
0 Robert Summers · September 25, 2014
I know about the JavaScript :) No worries

All the HTML code, images, etc etc are saved in the same folder and what default image.
0 Franz Schmidt · September 25, 2014
I hope you know you can't play the video at the moment without the javascript code...

But if you mean the startpicture of the video:
Where did you save your video file and how does the default image look like??
0 Robert Summers · September 25, 2014
Well the video does not work on the internet file, there is no video at the moment cause I haven't uploaded one on here but I have own my computer. 
  • 1
  • 2

HTML / CSS / Web Design


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