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.
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.
Yeah I was thinking about doing it that way. Thanks.