VLC plugin in firefox
Posted: 17 Aug 2008 23:33
Hi,
I am new to multimedia plugins usage and I am trying to display a local .wmv file in firefox using mozilla-vlc-plugin. Here is the code I am using in html. But I get a black box with "no video" on it. Any suggestions?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Video Streaming</TITLE>
</HEAD>
<script>
function load(){
var elem = document.getElementById("vlc");
elem.playlist.add("http://localhost:8080");
elem.playlist.play();
}
</script>
<BODY onLoad="load()">
<embed type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="352"
height="288"
loop="no"
id="vlc">
</embed>
</BODY>
</HTML>
I am new to multimedia plugins usage and I am trying to display a local .wmv file in firefox using mozilla-vlc-plugin. Here is the code I am using in html. But I get a black box with "no video" on it. Any suggestions?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Video Streaming</TITLE>
</HEAD>
<script>
function load(){
var elem = document.getElementById("vlc");
elem.playlist.add("http://localhost:8080");
elem.playlist.play();
}
</script>
<BODY onLoad="load()">
<embed type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="352"
height="288"
loop="no"
id="vlc">
</embed>
</BODY>
</HTML>