Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I position an embeded video?

    I'm trying to position an imbedded video, and while the "left" one works, the "top" one isn't.

    Here's the page I'm trying it on:
    http://www.gamexplain.com/videopages/test8b.shtml

    As you'll see, the video should be below the headline image. How can I do that?
    Last edited by duderdude2; 03-13-2005 at 07:39 PM.

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,793
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Add something like "padding-top:30px" to your div that contains the Windows Media Player.....see if that does what you want it to do....
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #3
    New Coder
    Join Date
    Jan 2005
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That worked great! Thanks!

  • #4
    New Coder
    Join Date
    Jan 2005
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Actually, I'm having just a bit more trouble. The embedded video isn't appearing where I want it to in Firefox (it overlaps some text), but in IE it works great.

    Here's the page:
    http://www.gamexplain.com/videopages/test8b.shtml

    In IE, the video is where I want it, but in Firefox, the video is covering up the text right above it.

    What can I do?

    Edit: I threw a border around the video and as you'll see, in IE, the border begins a little ways down, while in Firefox, it starts from the very top.
    Last edited by duderdude2; 03-13-2005 at 04:30 AM.

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    try margin-top instead

  • #6
    New Coder
    Join Date
    Jan 2005
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just did, does the exact same thing.

    Thanks anyway.

    Edit: While the positioning remained the same, the border conformed to the video itself, which is interesting, as opposed to the padding which extended the borders height beyond the video itself. Anyways, the basic problem is still there.

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    okay you should really try to avoid absolute positioning if you dont have to, please try the attached file, it uses relative positioning one time and that is for the game explain image and also when i went to view your site i got this in Firefox
    i think it was mainly because you had your video embedded wrong, i fixed this by using a different code, a more correct one
    Last edited by _Aerospace_Eng_; 03-13-2005 at 05:42 AM.

  • #8
    New Coder
    Join Date
    Jan 2005
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That's awesome _Aerospace_Eng_. Thank you so much, I really can't tell you how much I appreciate it.

    I already updated the page, could you just let me if it still gives the error?

    Thanks again for going beyond the call of duty
    Last edited by duderdude2; 03-13-2005 at 06:51 AM.


  •  

    Posting Permissions

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