VLC plugin in firefox

About encoding, codec settings, muxers and filter usage
padmanabhps
New Cone
New Cone
Posts: 2
Joined: 17 Aug 2008 21:32

VLC plugin in firefox

Postby padmanabhps » 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>

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: VLC plugin in firefox

Postby thannoy » 18 Aug 2008 00:28

Hi,

What happen if you replace "http://localhost:8080" by "file:///C:/path/to/your/video/file.wmv"?

regards,
Anthony

padmanabhps
New Cone
New Cone
Posts: 2
Joined: 17 Aug 2008 21:32

Re: VLC plugin in firefox

Postby padmanabhps » 18 Aug 2008 01:26

Thanks Anthony. It worked. But when I refresh the browser it just hangs..!!

Any suggestions?

Also, this was a static file, but I was to display a realtime streaming file by hosting a file on the apache server. Any inputs will be highly appreciated. :)

Thanks.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: VLC plugin in firefox

Postby thannoy » 18 Aug 2008 09:10

For the crash, the next VLC release (0.9.0) will be more stable. You can wait for it (around 1 week!) or try its unstable nightly build (http://nightlies.videolan.org)

carlosabdomingos
Blank Cone
Blank Cone
Posts: 15
Joined: 03 Sep 2008 15:56

Re: VLC plugin in firefox

Postby carlosabdomingos » 05 Sep 2008 12:04

Hi,

What happen if you replace "http://localhost:8080" by "file:///C:/path/to/your/video/file.wmv"?

regards,
Anthony
That situation is for a previous recorded video, right? And for a real time video, directly for a webcam?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests