Page 1 of 1

How to stream from the Firefox Plugin?

Posted: 12 Nov 2006 12:45
by TheGabbai
Hi,

I am successfully using the plugin to open a VLC window and view input from a webcam.

Here's the HTML:

<body bgcolor="yellow">
<h1>Demo of VLC mozilla plugin - Example 1</h1>
<embed type="application/x-vlc-plugin"
name="video1"
id="VLCPlayer"
autoplay="yes" loop="no" width="400" height="300"
src="dshow:// :dshow-vdev="" :dshow-adev="" :dshow-size="" "
/>

<br>
<a href="#" onclick='document.video1.play()'>Play video1</a>
<a href="#" onclick='document.video1.pause()'>Pause video1</a>
<a href="#" onclick='document.video1.stop()'>Stop video1</a>
<a href="#" onclick='document.video1.fullscreen()'>Fullscreen</a>
</body>
</html>

What do I add to stream the output via UDP to (let's say) 11.22.33.44:1234 ?
The plugin help seems to only include input, but not output.

Thanks.

Posted: 01 Jan 2007 04:21
by ecastsw
Did you figure this out?

I dont think this is supported -- perhaps has something to do with plugin creation.

I have seen several requests for this, but no responses.

Since I need this functionality pretty badly: I am toying with the idea of running vlc as a windows service, and then using the http interface to stream and view using the plugin.

I will let you know if I succeed.
In the meantime if you have figured out an easier way, do let me know.

:(