Page 1 of 1

cannot get the vcl plugin to work

Posted: 29 Jun 2010 04:22
by gonzo1948
I am trying to use the vlc plugin in firefox 3.5.9 but cannot seem to get it working. My html page has this in it:

<div id='preview'>
<embed type="application/x-vlc-plugin"
name="videoplugin"
autoplay="yes"
width="352" height="288"
target="http://localhost:/data1/Movies/SpiderMan.m4v" />
</div>

I have verified that the VLC Multimedia Plug-in (version 1.0.2) is indeed installed in Firefox. The plugin appears to load in that I see a black box on the page where the plugin should be. If I double click on the black box, "Waiting for video" is displayed in the middle of the box. I know that vlc is installed properly on my system because I can play all my .m4v files without problems. I get no errors reported in the Error Console.

Any ideas on what might be my problem?

Thanks,

-Andres

Re: cannot get the vcl plugin to work

Posted: 29 Jun 2010 14:17
by RĂ©mi Denis-Courmont
The URL is not working.

Re: cannot get the vcl plugin to work

Posted: 30 Jun 2010 02:53
by gonzo1948
Thank you for your response. I fixed the URL issue and it will play now just fine with a few problems. The video will freeze at a particular point in the movie. The video freezes but the audio keeps on playing. Reloading the page, the video starts over from the start, then freezes at the exact same spot each time.

Also, as the VLC documentation suggests, I put the following in my html file:

<a href="javascript:;" onclick='document.videoplugin.play()'>Play</a>
<a href="javascript:;" onclick='document.videoplugin.pause()'>Pause</a>
<a href="javascript:;" onclick='document.videoplugin.stop()'>Stop</a>
<a href="javascript:;" onclick='document.videoplugin.fullscreen()'>Fullscreen</a>

However, none of these work. Firebug shows an error:

document.videoplugin.play is not a function.

Any ideas why the javascript is not working?

Thanks for your help.

-Andres