cannot get the vcl plugin to work

*nix specific usage questions
gonzo1948
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Jun 2010 04:07

cannot get the vcl plugin to work

Postby gonzo1948 » 29 Jun 2010 04:22

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: cannot get the vcl plugin to work

Postby Rémi Denis-Courmont » 29 Jun 2010 14:17

The URL is not working.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

gonzo1948
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Jun 2010 04:07

Re: cannot get the vcl plugin to work

Postby gonzo1948 » 30 Jun 2010 02:53

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


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests