You are viewing our Forum Archives. To view or take place in current topics click here.
CSS/HTML Video Issue
Posted:

CSS/HTML Video IssuePosted:

Qui
  • Christmas!
Status: Offline
Joined: Apr 03, 201410Year Member
Posts: 646
Reputation Power: 41
Status: Offline
Joined: Apr 03, 201410Year Member
Posts: 646
Reputation Power: 41
So im making my first HTML Doc and this is what I have so far, nothing cool or anything however when I try to put in the video it won't appear. Any help?


P.S I started HTML/CSS about 5/6 days ago so no hate on what you're about to see. I plan to have a whole website by the time i'm done learning as much as I can.
[ Register or Signin to view external links. ]
#2. Posted:
-Deano
  • Rated Awesome
Status: Offline
Joined: Aug 19, 201014Year Member
Posts: 5,243
Reputation Power: 532
Status: Offline
Joined: Aug 19, 201014Year Member
Posts: 5,243
Reputation Power: 532
Looks good for a starter page. If you need any help with it, just let us know.
#3. Posted:
Qui
  • Christmas!
Status: Offline
Joined: Apr 03, 201410Year Member
Posts: 646
Reputation Power: 41
Status: Offline
Joined: Apr 03, 201410Year Member
Posts: 646
Reputation Power: 41
-Deano wrote Looks good for a starter page. If you need any help with it, just let us know.


!!!!!!!!!!!!!!!!

My issue is the video wouldnt appear in the page when I would run it. It would be blank, and the only thing that would appear is a play button
#4. Posted:
-Deano
  • PC Master Race
Status: Offline
Joined: Aug 19, 201014Year Member
Posts: 5,243
Reputation Power: 532
Status: Offline
Joined: Aug 19, 201014Year Member
Posts: 5,243
Reputation Power: 532
You have set it up incorrectly.

You should use the standard HTML5 format.

<video width="640" height="480" controls>
  <source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
#5. Posted:
Qui
  • 2 Million
Status: Offline
Joined: Apr 03, 201410Year Member
Posts: 646
Reputation Power: 41
Status: Offline
Joined: Apr 03, 201410Year Member
Posts: 646
Reputation Power: 41
-Deano wrote You have set it up incorrectly.

You should use the standard HTML5 format.
[code]
<video width="640" height="480" controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

oh, ok. Thank you very much I got it working! <3
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.