Streaming video using vlc in network thru IE

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
vinay
New Cone
New Cone
Posts: 2
Joined: 30 Jun 2009 11:51

Streaming video using vlc in network thru IE

Postby vinay » 30 Jun 2009 12:02

Hi
Friends

:lol:
I want to develop a website that integrate vlc activex control in IE and play the videos from a remote server located in some other location (thru IP) using streaming i want to play the video

i developed a web page that includes vlc player and the file is playing perfectly in local system i want to play that file with my website url like (http://192.165.0.18:8080/vlc/vlcpreview.jsp) in other systems that in network how to integrate that

i will access that url link in other sys in network so that it should be play
reply ASAP
plz help me i need that code urgent
plz help me :?:

Thanks and Regards
Vinnu
javapassion.weebly.com

just-do-it
Cone that earned his stripes
Cone that earned his stripes
Posts: 152
Joined: 08 Aug 2006 00:51
Operating System: 'does/Linux
Location: uk
Contact:

Re: Streaming video using vlc in network thru IE

Postby just-do-it » 02 Jul 2009 07:34

Is this the sort of thing?
http://just-do-it.no-ip.org/_Video/THE_ ... ntrol.html
where you get your stream over the web using vlc mentioned in this form
viewforum.php?f=16
which gives:
http://people.videolan.org/~dionoea/vlc ... height=180
or this
http://just-do-it.no-ip.org/_video/video.m3u
where you access files on your server and play them on vlc
(I cheat here and use IIS to make the file available but I believe you can use VLC web interface)
Ahh Go on; Go on

vinay
New Cone
New Cone
Posts: 2
Joined: 30 Jun 2009 11:51

Re: Streaming video using vlc in network thru IE

Postby vinay » 02 Jul 2009 13:05

Hi
I wl try the above one
and thanks for the reply

actually i have done like this

the video files are stored are in my local sys C:/Content/MediaContent/c1528f09-910f-4974-aee0-657b345a608a_one.flv
my movie file name is "c1528f09-910f-4974-aee0-657b345a608a_one.flv" this much big name it should have to play in vlc as per my requiremnets

i developed a page and integrated the vlc player the code is::

<script type='text/javascript'>
window.onload = function(){

var vlc = document.getElementById('vlc');
path="http://192.165.0.126:8080/myproject/Med ... 8a_one.flv";

//Comments: in the above path the file will play only when the MediaContent folder sholud be in my project location then only it is playing, my requirement is the files are stored in C:/ path i want to play that files that are stored in C: how to give that path so that in network with my IP all my videos will be playing with streaming
i think u understand my problem now plz help me ........ //


vlc.playlist.playItem(vlc.playlist.add('path'));
};
</script>
</head>
<body>
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width="400" height="300" id="vlc" events="True">
<param name="Src" value=""></param>
<param name="ShowDisplay" value="True" ></param>
<param name="AutoLoop" value="no"></param>
<param name="AutoPlay" value="yes"></param>
<embed type="application/x-google-vlc-plugin" name="vlcfirefox" autoplay="yes"
loop="no" width="400" height="300"></embed>
</object>

just-do-it
Cone that earned his stripes
Cone that earned his stripes
Posts: 152
Joined: 08 Aug 2006 00:51
Operating System: 'does/Linux
Location: uk
Contact:

Re: Streaming video using vlc in network thru IE

Postby just-do-it » 02 Jul 2009 16:20

AAAAAaargh - I always do this...
I had this big long post and closed the ie window down
anyway that's my problem...
I think I see the confusion
in your post you say
path="http://192.165.0.126:8080/myproject/Med ... 8a_one.flv";

//Comments: in the above path the file will play only when the MediaContent folder sholud be in my project location then only it is playing, my requirement is the files are stored in C:/ path i want to play that files that are stored in C: how to give that path so that in network with my IP all my videos will be playing with streaming
i think u understand my problem now plz help me ........ //
I think the problem is you are mixing up the LOCAL path and a STREAM path or MRL...

if you doenload this file (196MB Sorry)
http://just-do-it.no-ip.org/vlc/replies ... EW.avi.php
and put it in any folder; any name and then put this one in the same folder
http://just-do-it.no-ip.org/vlc/replies ... 2.html.php
you will see, when you run 'local_activex2.html' the mrl is
.\skyatnight_may07_16x9_bb_(rmr)_NEW.avi
which is simply the DOS path to the file

If, however, you have prepared a stream of the file you can view it like this
http://just-do-it.no-ip.org/vlc/replies ... ivex2.html
where the stream is on port 8080 and the MRL is
You could access your stream over the LAN via an ip such as
or the file DIRECTLY using MRL
/myproject/MediaContent/skyatnight_may07_16x9_bb_(rmr)_NEW.avi
if you put thr file 'skyatnight_may07_16x9_bb_(rmr)_NEW.avi' in the folder '/myproject/MediaContent'
Ahh Go on; Go on


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests