How to play a flash video file on a website using PHP
Moderator: General Moderators
-
dream2rule
- Forum Contributor
- Posts: 109
- Joined: Wed Jun 13, 2007 5:07 am
How to play a flash video file on a website using PHP
Hello All,
I would want to know how to play a flash video file onto a website using php.
I am completely new to this domain and would appreciate if i get any help on the same.
Thanking You.
Regards,
Dream2rule
I would want to know how to play a flash video file onto a website using php.
I am completely new to this domain and would appreciate if i get any help on the same.
Thanking You.
Regards,
Dream2rule
-
dream2rule
- Forum Contributor
- Posts: 109
- Joined: Wed Jun 13, 2007 5:07 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
-
dream2rule
- Forum Contributor
- Posts: 109
- Joined: Wed Jun 13, 2007 5:07 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
-
dream2rule
- Forum Contributor
- Posts: 109
- Joined: Wed Jun 13, 2007 5:07 am
Use php to output the html code needed to embed the video file in the page like I said in the previous post. That' s what you can do with php.
If you want to play different types of video files I suggest you don' t. The user should download players or codecs just see movies and most will not do this. Transform the video file into flash movie or other format but be consistent.
This is your big problem. PHP doesn' t transform movie formats from one to another. You need a specialist software for this.
If you want to play different types of video files I suggest you don' t. The user should download players or codecs just see movies and most will not do this. Transform the video file into flash movie or other format but be consistent.
This is your big problem. PHP doesn' t transform movie formats from one to another. You need a specialist software for this.
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Code: Select all
echo '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave'. '/cabs/flash/swflash.cab#version=7,0,19,0" width="FLASH WIDTH" height="FLASH HEIGHT"><param name="movie" value="FLASH SRC" /><param name="quality" value="high" /><embed src="FLASH SRC" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="FLASH WIDTH" height="FLASH HEIGHT"></embed></object>';