SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: [Youtube Embed, HTML] Embeded youtube video controls doens't show in different resolu

  1. #1
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Youtube Embed, HTML] Embeded youtube video controls doens't show in different resolu

    i added an embeded youtube player to my website:
    Code:
    <iframe src="http://www.youtube.com/embed/eFjm3CoKj7g" width="450" height="300" allowfullscreen="" frameborder="0" id="media"></iframe>
    But I have encountered a problem.. While using the resolution of: width=450 & height=300 Everything works fine. But when using the resoultion of (which is youtube suggested video ratio): width=533 & height=300 The controls of the video doesn't show up. Only when you click to play the video the controls then pop out.. I have tried changing out different settings of the following parameters: "controls", "autohide".

    Nothing seems to change,
    Desperate for help,
    Thanks in advanced,
    Din.

  2. #2
    It's all Geek to me silver trophybronze trophy
    SitePoint Award Recipient ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, Australia
    Posts
    19,926
    Mentioned
    216 Post(s)
    Tagged
    2 Thread(s)
    Those dimensions don't fit the natural dimensions of the video. If you want to increase the width, then also increase the height by the same ratio. E.g.

    width="533" height="355"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •