BoutCheetah

Other => Off Topic => Topic started by: BlackStickre on May 10, 2014, 02:02:05 PM

Title: HTML Coding
Post by: BlackStickre on May 10, 2014, 02:02:05 PM
I have a question about HTML coding.

Only answer if you know sure it's an correct answer me and my friend are building up a website for fun, and we wanted to have toturials of bf3 or Cod or w/e what game on it.
Now we need to html code it but we don't really know how to.
I know how to add these ones but i don't know how we can center them.
We wan't to add this link -> https://www.youtube.com/watch?v=CFKeB3ja96k&list=PLD708D834BCC6400C (https://www.youtube.com/watch?v=CFKeB3ja96k&list=PLD708D834BCC6400C)< to it and center it to the website.
If you know how to: add this video(s) to the website and center it in HTML please tell me

Thanks
~BlackSticker
Title: Re: HTML Coding
Post by: BlackStickre on May 10, 2014, 02:06:21 PM
Nevermind centering the video.
Just tell me how to add this link> https://www.youtube.com/watch?v=CFKeB3ja96k&list=PLD708D834BCC6400C (https://www.youtube.com/watch?v=CFKeB3ja96k&list=PLD708D834BCC6400C)    , on a website in HTML.
Thanks
Title: Re: HTML Coding
Post by: JustRK on May 10, 2014, 02:17:10 PM
in HTML5 all you need to do to add a video is add a div tag followed by a video class specifying the width like so  ;D

<div>
<video class="centre" src="source" controls poster="Img" width="X"></video>
</div>

It also depends how you are editing said web page too though so yeah :P
Title: Re: HTML Coding
Post by: BlackStickre on May 10, 2014, 02:19:21 PM
Quote from: JustRK on May 10, 2014, 02:17:10 PM
in HTML5 all you need to do to add a video is add a div tag followed by a video class specifying the width like so  ;D

<div>
<video class="centre" src="source" controls poster="Img" width="X"></video>
</div>

It also depends how you are editing said web page too though so yeah :P

Not sure if its HTML5, nope it isn't HTML5 it's just HTML can you put the link directly in it so I just need to copy & past?
Thanks  :)
( https://www.youtube.com/watch?v=CFKeB3ja96k&list=PLD708D834BCC6400C (https://www.youtube.com/watch?v=CFKeB3ja96k&list=PLD708D834BCC6400C) )
Title: Re: HTML Coding
Post by: Iridion on May 10, 2014, 02:27:39 PM
you should get the basics first
Title: Re: HTML Coding
Post by: JustRK on May 10, 2014, 02:33:44 PM
Oh doesn't YouTube already provide an iframe code under the share button?  Otherwise embed would look like

<embed
width="x" height="y"
src="link"
type="application/x-shockwave-flash">
</embed>

Quote from: Iridion on May 10, 2014, 02:27:39 PM
you should get the basics first

Also this :P unless it was like MySpace and all the divs are just premade bubble sections, it's hard to get everything the way you want it without knowing how it flows together in html
Title: Re: HTML Coding
Post by: BlackStickre on May 10, 2014, 02:44:50 PM
Quote from: JustRK on May 10, 2014, 02:33:44 PM
Oh doesn't YouTube already provide an iframe code under the share button?  Otherwise embed would look like

<embed
width="x" height="y"
src="link"
type="application/x-shockwave-flash">
</embed>

Quote from: Iridion on May 10, 2014, 02:27:39 PM
you should get the basics first

Also this :P unless it was like MySpace and all the divs are just premade bubble sections, it's hard to get everything the way you want it without knowing how it flows together in html

I know how to add videos in html and if i need to know anything else i will just look it up in books i got home (from my dad :d ) or search it on the internet.
Topic closed because I know how to add a video (found it on internet  :-X )