Reputation: 46929
I am trying to embed the vlc player from the following link
http://wiki.videolan.org/HowTo_Integrate_VLC_plugin_in_your_webpage
I am getting a message a missing plugin in mozilla,what plugin should be installed to get this working
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script language="javascript" src="http://revolunet.github.com/VLCcontrols/src/jquery-vlc.js"></script>
<link rel="stylesheet" type="text/css" href="http://revolunet.github.com/VLCcontrols/src/styles.css" />
<script language="javascript">
var player = VLCobject.embedPlayer('vlc1', 400, 300);
player.play('http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi');
</script>
EDIT
<html>
<head>
<embed type="application/x-vlc-plugin" name="player" autoplay="no" loop="no" target="udp:@239.255.12.42" />
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script language="javascript" src="http://revolunet.github.com/VLCcontrols/src/jquery-vlc.js"></script>
<link rel="stylesheet" type="text/css" href="http://revolunet.github.com/VLCcontrols/src/styles.css" />
<script language="javascript">
$(document).ready(function() {
var player = VLCobject.embedPlayer('vlc1', 400, 300);
player.play('http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi');
});
</script>
</head>
<body>
<div id="vlc1" name="vlc1" class="vlc1" ></div>
</body>
</html>
Upvotes: 2
Views: 4775
Reputation: 1
You need to install VLC player on your system. While installing check delete the cache and preferences option and refresh your page once installed.
Upvotes: 0
Reputation: 34673
If everything is fine with your code, I would try to load this on document ready or move the above code block before the closing tag.
And you could take some time and share what is the missing plugin in mozilla and show more code like the block element you are trying to load vlc into.
EDIT:
For windows, see this: http://wiki.videolan.org/Windows#VLC_Plugin_for_Firefox_.28Mozilla.29
If not, tell your OS.
Upvotes: 1