Scripting mozilla plugin
Posted: 03 Jan 2006 22:30
Hi,
I've got a problem scripting the mozilla plugin with Javascript.
I try to start my TV card using javascript with this code:
but this doesn't work, it starts the first directshow device that is my webcam, so it does the same thing as if I would use:
I thought it was a problem with escape charecters or something , but it doesn't seem to be. (tried a lot of things)
I also saw a post about using an "options" array because the vlc plug-in wouldn't parse the string or something (in IE by the way). But that also gives the same result.
Could somebody give me a working example code to start the TV card?
many thanks
BTW. I use 0.8.4a for windows 32 on WinXP of VLC
I've got a problem scripting the mozilla plugin with Javascript.
I try to start my TV card using javascript with this code:
Code: Select all
function startKan() {
document.video1.add_item('dshow:// :dshow-vdev="Hauppauge WinTV PVR PCI II Capture"');
document.video1.play();
}
Code: Select all
function startKan() {
document.video1.add_item('dshow:// ');
document.video1.play();
}
I thought it was a problem with escape charecters or something , but it doesn't seem to be. (tried a lot of things)
I also saw a post about using an "options" array because the vlc plug-in wouldn't parse the string or something (in IE by the way). But that also gives the same result.
Could somebody give me a working example code to start the TV card?
many thanks
BTW. I use 0.8.4a for windows 32 on WinXP of VLC