473,721 Members | 2,186 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Streaming Video - Secure

SPG
Hi,

Two questions for you all..

Firstly, is there a way of streaming video using PHP? At the moment I just
have a link to a video file and the whole thing downloads before playing
which is a bit of a chore as the video file is pretty huge.

Secondly, I want to restrict access to the video using a password. Can
anyone think of a nice way of doing this? I thought about having the video
embedded into a page and when the page loads it checks if a user is logged
in and if not goes back to the login page, but that doesn't restict access
to the actual video, IE: They can view source, find the Video link and
simply copy it into a browser window...

I look forward to your answers/advice

Steve
Feb 22 '07 #1
2 8443
bsa
Steve,
PHP or not you should try VideoVista http://www.vista.it.

It plays virtually on any webserver regardless script language or
dedicated server.
Anyway using PHP you can achieve good user interaction with it.
Hope this could help you.

regards

Fabio


On Feb 22, 2:38 pm, "SPG" <steve.goods... @nospoo.blueyon der.co.uk>
wrote:
Hi,

Two questions for you all..

Firstly, is there a way ofstreamingvide ousing PHP? At the moment I just
have a link to avideofile and the whole thing downloads before playing
which is a bit of a chore as thevideofile is pretty huge.

Secondly, I want to restrict access to thevideousing a password. Can
anyone think of a nice way of doing this? I thought about having thevideo
embedded into a page and when the page loads it checks if a user is logged
in and if not goes back to the login page, but that doesn't restict access
to the actualvideo, IE: They can view source, find theVideolink and
simply copy it into a browser window...

I look forward to your answers/advice

Steve

Feb 22 '07 #2
SPG wrote:
>
Hi,

Two questions for you all..

Firstly, is there a way of streaming video using PHP? At the moment I just
have a link to a video file and the whole thing downloads before playing
which is a bit of a chore as the video file is pretty huge.

Secondly, I want to restrict access to the video using a password. Can
anyone think of a nice way of doing this? I thought about having the video
embedded into a page and when the page loads it checks if a user is logged
in and if not goes back to the login page, but that doesn't restict access
to the actual video, IE: They can view source, find the Video link and
simply copy it into a browser window...
Aside from PHP and the password issue, with most video types like .wmv,
..ram, etc, you can achieve a sort of pseudo-streaming effect without
having to go to a true streaming server by setting your mime and file
types properly so the web browser immediately passes the url off to the
video player app rather than trying to download the file. (For example,
with Realvideo types you can create a meta-file which only contains the
url of the actual video; so the browser downloads the (tiny) metafile
and gives it to Realplayer which then "streams" the actual video.)

There's also other media types which handle their own internal
streaming, like Flash.
Feb 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10335
by: Lonewolf | last post by:
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of technologies, among them WMP, RealMedia, H.323 and XviD (not sure if it is suitable for streaming even) . I would like to seek the advice of those experts on the following questions, 1) What is the best technologies to be used, in terms of...
3
9548
by: tom | last post by:
I need a C#, peer-to-peer solution for streaming video from a webcam on one box to a client application on the other box. Can someone please help me with this? I can read video from a webcam easy enough but streaming the feed to a client application seems to be a different story Any help would be appreciated Thanks in advance Tom
2
9751
by: mpaliath | last post by:
Hi guys I am currently involved in a project which requires me to recieve and play streaming video as well as send it. In Visual C++ is there any free library which helps me do this as 'streaming' is not part of the actual project, i am allowed to use external libraries. Also could anyone tell me where I can learn about video streaming in c++ so I can code the streaming part myself too thx
8
7675
by: poorna | last post by:
hi all i want to upload the video files to the server.. then i encode all the video files into flv files ... and then i am go to streaming ... in the mean while i create the thumbnail image from video.. doubts: how to upload the video files to web server?
4
8857
by: chix23 | last post by:
Could you give sample codes or suggestions on how to build a web application with live video streaming? Thanks!!!
8
65830
by: Amjad | last post by:
Hi i am writing a application where i want to browse video file and copy data into stream and send that stream over network...I have develop P2P windows application where i successfully transfer text message to each other but now i want to send video file and play that file on other end...I know the code how to send the stream over the network but basic problem is how open that file as a stream. Thanks
1
14752
by: michael | last post by:
Hello all, I have a Linksys WVC54GC network camera that I am trying to integrate into a website and to enable browsers other than IE to use. Linksys, in their ever-short-sighted ways, decided to make this device only compatible with IE. It requires IE and ActiveX. However, you can access the video stream directly with the following URL http://1.2.3.4/img/video.asf
2
2555
by: momogi | last post by:
hi all.. I wanna make a site where every visitors can see a streaming video (in real time, may be like youtube). So, in the same time when the page is loading, the video is playing. My questions, is it possible to make this streaming video using PHP5? Or I have to learn another language? Does PHP support this? I don't know where to start this project... Do I have to make some kind of video player in this site? thanks for your help...
1
2854
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from silverlight client to Silverlight streaming service. I tried to user WebClient and HttpWebRequest for that purpose but, unfortunately I can found the way to do so. There are some problems with both classes. 1. There is no property of get...
0
8840
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9131
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8007
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5981
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4484
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4753
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.