Examples don't work?
Posted: 26 Nov 2010 17:10
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:
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!
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>
What's the problem? Thanks!