Monday, 17 November 2014

VLC Streaming in a Browser

After creating VLC stream, I was wondering if there was a simpler way to offer streaming to users. Entering an IP address & port may be simple for someone familiar with computers, but for a casual user it may not be practical. To solve this, I decided to research and create a basic webpage to do so.

On the host machine, all I required a VLC plugin to be installed on to each computer being used.

<html>
<head><title>Faculty Video Stream</title></head>
<body>
<h1>Our currently streamed Video</h1>
<embed type="application/x-vlc-plugin"
         name="stream"
         autoplay="yes" loop="no" hidden="no" width="640" height="360"
         target="[IPaddressVideoServer]:[Port]" />
</body>
</html>

By going to this webpage I created, a small window on the screen would automatically open the stream that is currently going through the network.

No comments:

Post a Comment