SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems embedding fullsize YouTube video

    Hi All.

    Ive recently had to create a simple website with a youtube video embedded on the homepage (www.duporth.com.au)

    I thought this was a relatively simple task but actually provide quite difficult. The problems are not immediately obvious but i'll explain.

    Going to another page on the website (like the Danehill-line mares page) you will see the footer has a drop shadow bg effect. but on the homepage with the video this is hidden behind the video content.
    and when you resize the homepage small the footer just gets more and more hidden.

    Ive had to mess around with 100% heights to get it where it is.

    Anyone else had any luck with this sort of thing?

  2. #2
    SitePoint Member
    Join Date
    Nov 2008
    Location
    Connecticut
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you tried adding a <br clear="all"> after the video div?

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, why not just lowe the height of the youtube video a bit? Go into the HTML and change the height to something like 80&#37; or so
    It's very hard to find a proper solution given dynamic screen resolutions
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  4. #4
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I have tried both solutions suggested above but no luck. I think i'll just have to live with it.

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Sorry, it's just too .. awkward to give the youtube video a height of 100&#37;-pixel widths (you technically could but it would be a royal pain )
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


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
  •