How To Fix The Youtube Video Embeds Full Screen Issue?

YouTube embedding video was working fine without any problem. But now i got full screen button issue. When i click on full screen button on you tube video player, it is not showing full screen. Because the player missing the full screen button actions. So now i changed my old format code to new format to show the full screen video on you tube player

Old Format Code

<object width="425" height="344">
  <param
    name="movie"
    value="http://www.youtube.com/v/3mCKd9fpkoE&hl=en_US">
  </param>
  <param
    name="allowscriptaccess"
    value="always">
  </param>
  <embed
    src="http://www.youtube.com/v/3mCKd9fpkoE&hl=en_US"
    type="application/x-shockwave-flash"
    allowscriptaccess="always"
    width="425"
    height="344">
  </embed>
</object>

New Format Code

<iframe width="560" height="315" src="http://www.youtube.com/embed/pRpeEdMmmQ0" frameborder="0" allowfullscreen></iframe>
<object width="698" height="423">
  <param
    name="movie"
    value="http://www.youtube.com/v/3mCKd9fpkoE&hl=en_US">
  </param>
  <param
    name="allowscriptaccess"
    value="always">
  </param>
  <param
    name="allowFullScreen"
    value="true">
  </param>
  <embed
    src="http://www.youtube.com/v/3mCKd9fpkoE&hl=en_US"
    type="application/x-shockwave-flash"
    allowscriptaccess="always"
    allowfullscreen="true"
    width="698"
    height="423">
  </embed>
</object>