Page 1 of 1

Examples don't work?

Posted: 26 Nov 2010 17:10
by dom16
Hi. I've installed mozilla-plugin-vlc and vlc player in Debian Squeeze, both have version 1.1.3-1, iceweasel (FF) is 3.6.12. I've tried to run examples from http://wiki.videolan.org/Documentation:WebPlugin but failed:

Code: Select all

<html> <title>VLC Mozilla plugin test page</title> <body> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="640" height="480" autoplay="no" loop="yes" name="vlc" target="file:///mnt/g/X-Files/1 season/1x00 - Pilot DVDRip.avi"> </embed> <a href="javascript:;" onclick='document.vlc.play()'>Play video</a> <a href="javascript:;" onclick='document.vlc.pause()'>Pause video</a> <a href="javascript:;" onclick='document.vlc.stop()'>Stop video</a> <a href="javascript:;" onclick='document.vlc.fullscreen()'>Fullscreen</a> </body> </html>
Those links don't work. If I press "Play video" nothing happens. In firebug I see "document.vlc.play is not a function". If I remove autoplay="no" I am able to see the video and hear audio, so plugin itself is fine.

What's the problem? Thanks!

Re: Examples don't work?

Posted: 29 Nov 2010 18:14
by dom16
for some reason trac doesn't allow me to file a bug.