title: How to center my HTML5 embeded video from youtube?
body: <p>I embedded a video link from YouTube to put into my website to use for school, when I pasted it and refreshed the video was aligned to the side.
  I tried debugging it and tried  and a couple different ones but none worked. I reaserched and found nothing that fixed ( searched for 30 mins )
  can anyone offer help? Or is it because I have a responsive design?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;iframe class="right" width="1000" height="500" src="https://www.youtube.com/embed/V_qlumZ5K4I" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/object&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is Just My website BELOW</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;
        Road to a healthier lifestyle
      &lt;/title&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta content="width=device-width, initial-scale=1" name="viewport"&gt;
      &lt;!--[if lte IE 8]&gt;&lt;script src="assets/js/ie/html5shiv.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
      &lt;link href="assets/css/main.css" rel="stylesheet"&gt;
      &lt;!--[if lte IE 8]&gt;&lt;link rel="stylesheet" href="assets/css/ie8.css" /&gt;&lt;![endif]--&gt;
      &lt;!--[if lte IE 9]&gt;&lt;link rel="stylesheet" href="assets/css/ie9.css" /&gt;&lt;![endif]--&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;!-- Header --&gt;
      &lt;header id="header"&gt;
        &lt;h1&gt;
          &lt;a href="index.html"&gt;Healthy living&lt;/a&gt;
        &lt;/h1&gt;&lt;a href="#nav"&gt;Menu&lt;/a&gt;
      &lt;/header&gt;&lt;!-- Nav --&gt;
      &lt;nav id="nav"&gt;
        &lt;ul class="links"&gt;
          &lt;li&gt;
            &lt;a href="index.html" type="square"&gt;Home&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;a href="generic.html" type="square"&gt;Diabetes &amp; obesity&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;a href="elements.html" type="square"&gt;Ways to play less video games&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/nav&gt;&lt;!-- Main --&gt;
      &lt;section class="wrapper" id="main"&gt;
        &lt;div class="container"&gt;
          &lt;header class="major special"&gt;
            &lt;h2&gt;
              Road to a healthier lifestyle
            &lt;/h2&gt;
            &lt;p&gt;
              Ways to play less video games
            &lt;/p&gt;
            &lt;a&gt;&lt;div class="seperate"&gt;&lt;/div&gt;&lt;/a&gt;
            &lt;object&gt;
              &lt;iframe align="center" allowfullscreen="" frameborder="0" height=
              "500" src="https://www.youtube.com/embed/Y5RSngCFpsc" width=
              "1000"&gt;&lt;/iframe&gt;
            &lt;/object&gt;
          &lt;/header&gt;
          &lt;ul&gt;
            &lt;li&gt;I. Think of why you wanted to stop gaming? Make reasons why you
            want to stop. This will help you understand.
            &lt;/li&gt;
            &lt;li&gt;II. Make a note of how long you play every day. Then cut off an
            hour every day. This sort of progressive reduction will help your
            body adjust to the change, and doesn’t feel like your removing an
            important part of your daily life.
            &lt;/li&gt;
            &lt;li&gt;III. Think of all the reasons you want to quit gaming for. What
            are the alternative things you could be doing? This might be
            improving your studying, learning a new hobby, seeing friends more
            often, spending more time with your family and/or pets, going out
            more, taking up a sport, etc.
            &lt;/li&gt;
            &lt;li&gt;IV. When stopping something you love, it will hurt. You should be
            strict all the same, as cutting down requires removing the desire to
            play. Play for only a couple of hours on weekends, after you've
            finished your chores and the other things you want to do.
            &lt;/li&gt;
            &lt;li&gt;V. Tell your parents to remind you to turn it off at a particular
            time. Make sure you turn it off at the designated time. No matter
            what checkpoint you need to reach, even if it's online or if it gets
            you banned.
            &lt;/li&gt;
            &lt;li&gt;VI. If asking your parents doesn't work, download this simple
            software that will force your computer to shut down at a designated
            time:
            http://www.konradp.com/products/auto_shutdown/download/autoshutdown.exe
            &lt;/li&gt;
            &lt;li&gt;VII. Set the time with the Force shutdown option to 2 hours
            lesser that what you did on your previous day. As the computer shuts
            off, unplug the mouse and keyboard.
            &lt;/li&gt;
            &lt;li&gt;VIII. If you are a hardcore gamer who is active on the
            forums/public chat, then make a thread about you quitting - make it
            public. This will make your resolve stronger.
            &lt;/li&gt;
            &lt;li&gt;IX. Try asking someone to hide your games from you for a few
            hours and gradually go up to a few days, weeks, months etc.
            &lt;/li&gt;
            &lt;li&gt;X. Try doing other things to get your mind off gaming. Some
            examples are reading, sports, helping around the house, etc.
            &lt;/li&gt;
            &lt;li&gt;XI. Never try to sneak onto video games, as this will make you
            want to play more and more and more. You will inevitably be
            discovered.
            &lt;/li&gt;
            &lt;li&gt;XII. Don't try to prolong your gaming time. Things you should
            avoid include "May I please play 5 more minutes", "I need to finish
            this up or it won't save", and "I'm in the middle of something".
            Video games are no longer the highlight of the day. You have better
            things you would rather do, like reading, a sport, or another
            activity that is healthy for your mind and body.
            &lt;/li&gt;
            &lt;li style="list-style: none; display: inline"&gt;
              &lt;p&gt;
                Tips
              &lt;/p&gt;
            &lt;/li&gt;
            &lt;li&gt;o •You don't have to give them up completely. Just strictly limit
            how long you play
            &lt;/li&gt;
            &lt;li&gt;o •Whenever you feel that urge to play, resist it by occupying
            your hands with something else.
            &lt;/li&gt;
            &lt;li&gt;o •Try to study harder and keep a timetable.
            &lt;/li&gt;
            &lt;li&gt;o •Avoid anything to do with gaming, even something as simple as
            searching the internet for gaming reviews or forums.
            &lt;/li&gt;
            &lt;li&gt;o •Get a knack for the more rewarding real life game. Read and
            practice.
            &lt;/li&gt;
            &lt;li&gt;o •Organize your stuff.
            &lt;/li&gt;
            &lt;li&gt;o •Understand that you can survive without video games.
            &lt;/li&gt;
            &lt;li&gt;o •Drink water and rest your eyes often.
            &lt;/li&gt;
            &lt;li&gt;o •Workout and exercise, eat fruits and stay healthy.
            &lt;/li&gt;
            &lt;li&gt;o •Know your limits and don't try do so much in short time.
            &lt;/li&gt;
            &lt;li style="list-style: none; display: inline"&gt;
              &lt;div class="seperate"&gt;&lt;/div&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/section&gt;&lt;iframe allowfullscreen="" class="right" frameborder="0" height=
      "500" src="https://www.youtube.com/embed/V_qlumZ5K4I" width=
      "1000"&gt;&lt;/iframe&gt; &lt;!-- Footer --&gt;
      &lt;footer id="footer"&gt;
        &lt;div class="inner"&gt;
          &lt;ul class="icons"&gt;
            &lt;li&gt;
              &lt;a class="icon fa-facebook" href="#"&gt;&lt;span class=
              "label"&gt;Facebook&lt;/span&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="icon fa-twitter" href="#"&gt;&lt;span class=
              "label"&gt;Twitter&lt;/span&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="icon fa-instagram" href="#"&gt;&lt;span class=
              "label"&gt;Instagram&lt;/span&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="icon fa-linkedin" href="#"&gt;&lt;span class=
              "label"&gt;LinkedIn&lt;/span&gt;&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
          &lt;ul class="copyright"&gt;
            &lt;li&gt;&amp;copy; By Ahmad abu shawar 9y
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/footer&gt;&lt;!-- Scripts --&gt;
      &lt;script src="assets/js/jquery.min.js"&gt;
      &lt;/script&gt; 
      &lt;script src="assets/js/skel.min.js"&gt;
      &lt;/script&gt; 
      &lt;script src="assets/js/util.js"&gt;
      &lt;/script&gt; 
      &lt;!--[if lte IE 8]&gt;&lt;script src="assets/js/ie/respond.min.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
       
      &lt;script src="assets/js/main.js"&gt;
      &lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  
  Thx lots guy, I managed to fix it</p>