Connecting Tech Pros Worldwide Forums | Help | Site Map

Playing streaming video in php

Member
 
Join Date: Oct 2008
Posts: 32
#1: Oct 5 '08
hi all ^^
i'm a newbie and i want to play streaming video in php
how do i do that? i have tried and failed, can any one help me? thanks for all ur help

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#2: Oct 5 '08

re: Playing streaming video in php


Can you be more specific? What video formats? This can all be done with HTML's embed or object tags.

Markus.
Member
 
Join Date: Oct 2008
Posts: 32
#3: Oct 5 '08

re: Playing streaming video in php


do you have the coding? any format of video will be good. thanks before
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#4: Oct 5 '08

re: Playing streaming video in php


Quote:

Originally Posted by dbest5250

do you have the coding? any format of video will be good. thanks before

I'm going to move this over to HTML because I think it's more suited over there.

Will a moderator edit the title of this please?
Member
 
Join Date: Oct 2008
Posts: 32
#5: Oct 5 '08

re: Playing streaming video in php


ok sorry before, so can anyone play video streaming using php or html? thanks before ^^
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#6: Oct 5 '08

re: Playing streaming video in php


Use the object tag as shown here.
Member
 
Join Date: Oct 2008
Posts: 32
#7: Oct 6 '08

re: Playing streaming video in php


thanks so much for ur help ^^
Member
 
Join Date: Oct 2008
Posts: 32
#8: Oct 6 '08

re: Playing streaming video in php


acoder it seems is not working i have tried to play it and nothing is playing is there any more other solution? thanks
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#9: Oct 6 '08

re: Playing streaming video in php


You have to use a helper application to actually stream the video. Which program, e.g. Windows Media Player, Quicktime, Real Player, etc. are you using?

Can you show the code that you tried?
Member
 
Join Date: Oct 2008
Posts: 32
#10: Oct 7 '08

re: Playing streaming video in php


i tried the coding that u gave me the link to which is :

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body>
  3.  
  4. <h2>Playing The Object</h2>
  5.  
  6. <object
  7. classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
  8. <param
  9. name="FileName"
  10. value="/1.wmv" />
  11. </object>
  12.  
  13. </body>
  14. </html>
  15.  
CMIIW thanks so much ^^
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#11: Oct 7 '08

re: Playing streaming video in php


OK, try this link. Does it work for you? You'll have to have the Windows Media Player plugin.
Member
 
Join Date: Oct 2008
Posts: 32
#12: Oct 7 '08

re: Playing streaming video in php


i tried it already and nothing happened.. what do you mean i have to have the windows media player plugins? thanks in advance..
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#13: Oct 7 '08

re: Playing streaming video in php


Which browser are you testing on?
Member
 
Join Date: Oct 2008
Posts: 32
#14: Oct 7 '08

re: Playing streaming video in php


firefox, do i have to download the windows media player plugin for firefox?
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#15: Oct 7 '08

re: Playing streaming video in php


Yes, see this article.
Member
 
Join Date: Oct 2008
Posts: 32
#16: Oct 7 '08

re: Playing streaming video in php


acoder, i figure it out, i tried playing with IE and it works, thanks so much, you've been alot of help, thanks
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#17: Oct 7 '08

re: Playing streaming video in php


You're welcome :)

Did you get it working with Firefox and other browsers too?
Member
 
Join Date: Oct 2008
Posts: 32
#18: Oct 7 '08

re: Playing streaming video in php


for firefox i cant get it working yet, coz i am using xp sp 1 not sp 2, thats why i cant install the plugins :( i'll upgrade soon. thanks again :)
Reply


Similar HTML / CSS bytes