We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,608 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Play videos using php

Hello friends,

How to play videos using php, could anyone suggest me code to play the videos.

For example, I have a video "abc.mpg", i want to play it in the browser using php code.

I need help asap.

Thanks.

4
Contributors
4
Replies
4 Years
Discussion Span
1 Year Ago
Last Updated
8
Views
aijazali12
Newbie Poster
2 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I dont know myself but i know that there is a free PHP you-tube like system. Maybe you could borrow some code?

jbennet
Moderator
Team Colleague
18,528 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 609
Skill Endorsements: 28

I dont know myself but i know that there is a free PHP you-tube like system. Maybe you could borrow some code?

I want to load the videos dynamically.

Thanks.

aijazali12
Newbie Poster
2 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This code play video file
Coded by pavansengar2002

<head>
<title>VTC Movie Player</title>
<link href="scripts/style.css" type="text/css" rel="stylesheet"/>
<script src="scripts/qtFunctions.js" ttype="text/javascript" language="javascript"></script>
<script src="scripts/cookies.js" ttype="text/javascript" language="javascript"></script>

<script src="google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-106600-1";
urchinTracker();
</script>


</head>
<body>
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="" HEIGHT="" CODEBASE="apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="">
<PARAM name="CONTROLLER" VALUE="FALSE">
<PARAM name="AUTOPLAY" VALUE="FALSE">
<PARAM name="CACHE" VALUE="FALSE">
<PARAM NAME="MovieQTList" VALUE="
<info>
<mov_url>&type=mov</mov_url>
<caption_url>&type=txt</caption_url>
<volume>83</volume>
<captions>1</captions>
<debug_url></debug_url>
<debug_caption></debug_caption>
</info>">
<EMBED src="filenaewithextention"
WIDTH="" HEIGHT=""
CONTROLLER="FALSE"
AUTOPLAY="FALSE"
CACHE="FALSE"
TYPE="video/quicktime"
PLUGINSPAGE="apple.com/quicktime/download/"
MovieQTList="
<info>
<mov_url>&type=mov</mov_url>
<caption_url>&type=txt</caption_url>
<volume>83</volume>
<captions>1</captions>
<debug_url></debug_url>
<debug_caption></debug_caption>
</info>">
</EMBED>
</OBJECT>
</body>
</html>
pavansengar2002
Newbie Poster
1 post since Oct 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

Hi
Visit the below link
www.longtailvideo.com/players

you can have more example and player

rpv_sen
Posting Whiz in Training
204 posts since Mar 2011
Reputation Points: 24
Solved Threads: 18
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0623 seconds using 2.65MB