Examples don't work?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
dom16
New Cone
New Cone
Posts: 4
Joined: 26 Nov 2010 16:59

Examples don't work?

Postby dom16 » 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:

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!

dom16
New Cone
New Cone
Posts: 4
Joined: 26 Nov 2010 16:59

Re: Examples don't work?

Postby dom16 » 29 Nov 2010 18:14

for some reason trac doesn't allow me to file a bug.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests