I am trying to embed some video using VLC plugin.
I tried the following snippet:
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"
id="vlc"></embed>
<script language="Javascript">
<!--
var vlc = document.getElementById("vlc");
var id = vlc.playlist.add("./bunny.mp4");
vlc.playlist.playItem(id);
!-->
</script>
</body>
</html>
I also tried example on http://revolunet.github.com/VLCcontrols/, with the same non result.
(By the way, this page also crashes FF 3.6.11).
I run VLC 1.1.4, with proxy enabled on a Win XP machine and a Fedora machine. It displays the tests mp4 correctly.
Can you help me?
Thanks
Edit: I finally ran the plugin successfully in autodisplay mode after a full uninstall/reinstall of the plugin