Forum Moderators: coopster

Message Too Old, No Replies

How to play videos(ASX) through PHP and MySQL?

ASX, MySQL, How to, video playing website, PHP

         

jove

4:26 pm on Jul 2, 2009 (gmt 0)

10+ Year Member



Hello,

Actually, i wanna set up a video playing website,
Is there any way to play the videos (ASX), through mysql, and PHP?

please mention the full code.
i'm totally new to the web development..

jatar_k

4:24 pm on Jul 3, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld jove,

you wouldn't play them with mysql and php exactly.

You could store the parameters for the video and feed that into a player using php

>> please mention the full code

hehe, well, I am sure you can find some code on the internet somewhere :)

Demaestro

4:47 pm on Jul 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are different methods of implementing what you are describing. You should decide on which method serves your purpose best then you can figure out how to perform that method. As different methods will affect your interaction with the site's users

For example, you can provide links to a file, the user downloads the file and watches it on their computer using the player of their choice.

Or... you could embed the video file in a webpage so that people view the video within your webpage and don't actually download it, but simply stream it. This method requires you standardize the file with something that all browsers and OS's can play... ie flash, quicktime, etc.

Once you decide how you want your users to interact with the video then you can worry about how.

[edited by: Demaestro at 4:54 pm (utc) on July 3, 2009]