SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    appendChild param

    For a .WVM file I'm trying to put on a page, I'm using DOM scripting to build the OBJECT element and adding it to the page.

    I'm adding a PARAM element to the OBJECT element cith appendChild. This works great in FireFox and Safari, but in Internet Explorer (6 and 7) the PARAM elements doesn't get attached, and the video doesn't play.

    Is this an IE issue? And do you know a workaround? Thanks.

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It probably is an IE issue. It's notorious for not supporting <object> well at all. A workaround would be to use create the object like you have and then use innerHTML for the params.

  3. #3
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I was thinking about doing it that way. Thanks.


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
  •