You can stream any local media file / live stream via Firefox Browser.
For example you can create a list of Video Files and link it on your web site, So when user click on the video link, instead of downloading, it will play directly via browser. This is just an idea, you can create exciting web pages with this logic. It is highly recommended to install VLC media player in Full Installation mode at Client.
To play Video via VLC plugin, Use the following code.
<embed type="application/x-vlc-plugin" name="VLC" autoplay="yes" loop="yes" volume="100" width="640" height="480" target="d:\1.flv">
(Replace 1.flv with your media file)
To play Video via Windows Media Player – WMP plugin, Use the following code.
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="640" height="480"codebase="http://www.microsoft.com/Windows/MediaPlayer/"> <param name="Filename" value="d:\1.flv"> <param name="AutoStart" value="true"> <param name="ShowControls" value="true"> <param name="BufferingTime" value="2"> <param name="ShowStatusBar" value="true"> <param name="AutoSize" value="true"> <param name="InvokeURLs" value="false"> <embed src="d:\1.flv" type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="1" showdisplay="1" showcontrols="1" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"></embed> </object>
(Replace 1.flv with your media file)
Hi Syed, I am writing to thank you for the resources you offer here. Sincerely this is the most resourceful networking blog I know. I have an implementation of TV streaming on my wired network powered by vlc. VLC picks the TV signal from a DVB decoder through a TV tuner, on a windows 7 running machine. I have implemented a login feature for users to login to access the service: (using tomcat6 server and wamp server for the database). I have embedded the stream(localstream.asx) on a page accessible only after login. The problem is that vlc streams are transparent and can be accessed via vlc by users with knowledge of the same.
Network Details:
Router: Mikrotik RB750G. Network: 10.10.50.0/24
Servers: TV server(OS: windows 7,with tv tuner input+tomcat6+wamp)
Radius Server: Running dma softlab
Dolaradius Server: On my laptop:purely experimental
Question 1:
Is there a way to restrict access to the stream to only registered users in db.
Question 2:
is there a way to exploit a radius servers to allow access to the Tv server, url: 10.10.50.10/tv/yourtv.jsp
Any help will be highly appreciated
LikeLike
Comment by keter — November 19, 2011 @ 2:25 PM
You can restrict users by .htaccess and link it with FREERADIUS as backend.
you can also use .htaccess by local file also.
For example if user is viewing streaming via http server, then you can place yout tv.html file under Apache protected folder and set its authentication back to dmasoftlab radius manager. I have used the same to share folder and vlc streaming via web linked back to dma.
Try to read these links, they might help you.
LikeLike
Comment by Pinochio~:) — November 19, 2011 @ 2:47 PM
plz sir tel me how we ad a coment box or leave a coment type in our web page in html or adobe dremware thankx
LikeLike
Comment by obaid — February 8, 2012 @ 11:02 AM
You can use java script for this purpose. Google for it and you will fnd many
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 9, 2012 @ 8:59 AM