Page 1 of 1

createElement and progid

Posted: 19 Aug 2008 14:22
by X-h
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

Re: createElement and progid

Posted: 28 Aug 2008 12:37
by X-h
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