createElement and progid

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

createElement and progid

Postby X-h » 19 Aug 2008 14:22

Hi,
is there any way to specify the progid, when creating a VLC instance using createElement ?
It seems that :

Code: Select all

vlc = document.createElement("EMBED"); vlc.progid="VideoLAN.VLCPlugin.2"; vlc.type="application/x-vlc-plugin"; document.body.appendChild(vlc);
does not take progId into account and I can only use the old API
Xavier

X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

Re: createElement and progid

Postby X-h » 28 Aug 2008 12:37

If not, is there a config file where I can force to use VideoLAN.VLCPlugin.2 ?
I had a look to the source code, but no luck so far

PS: it is for firefox under linux


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests