How to stream and display video on a site?

Discussion in 'Graphics & Multimedia' started by bethennyengland, Jul 25, 2009.

  1. #1
    What is the best way to stream and display a video on a site? Without using youtube?
     
    bethennyengland, Jul 25, 2009 IP
  2. asmodeus

    asmodeus Notable Member

    Messages:
    4,093
    Likes Received:
    101
    Best Answers:
    0
    Trophy Points:
    250
    #2
    Use this code to embed a video on your site. Just make sure you point to the right path for the video file on your server and change the width and height to your needs and set autostart to true or false.

    <object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components…" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"> 
    <param name="filename" value="http://www.yourdomain.com/video.wmv">
    <param name="Showcontrols" value="True">
    <param name="autoStart" value="False">
    <EMBED type="application/x-mplayer2"
    pluginspage="http://microsoft.com/windows/mediaplayer/ en/download/"
    id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="0" 
    bgcolor="darkblue" showcontrols="True" showtracker="True" 
    showdisplay="True" showstatusbar="True" videoborder3d="0" width="320" height="240"
    src="http://www.yourdomain.com/video.wmv" autostart="False" designtimesp="5311" loop="0">
    </EMBED>
    </object>
    PHP:
     
    asmodeus, Jul 25, 2009 IP
  3. Shirley1874

    Shirley1874 Peon

    Messages:
    558
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    wmv cannot stream. If you use wmv on website, you have to wait the whole video downloaded before you can start to view the video.
    To stream video, you can use FLV, with which Youtube broadcast their videos online. And a web-based flv player is also needed. You can use Moyea Web Player (http://www.playerdiy.com/ ), which is a good flv player creator.
     
    Shirley1874, Jul 27, 2009 IP
  4. JaiHutcherson

    JaiHutcherson Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hey,

    Currently the best method and widely used format is flv. This is a flash video file. To stream from your website you will need two things: your video in flv format and a flv player with code that you can embed into your pages html. I highly suggest using the JWPlayer from http://www.longtailvideo.com/ (Sorry have not posted enough to be able to make it a link yet.... I am getting there though!) Anyway, I am not an affiliate, I am not making money for telling you this. It is just the best player that I have found but more so is the support and ease of use on the site. You can literally go to their code section and just input the name of your video and where it is located (server) and it will create the code for you. Plus, once you get the hang of it you will be able to start customizing your player and preferences and pretty much get anything you want out of your streaming video. Here is a good flv converter for free as well... http://www.koyotesoft.com

    IF you need more help let me know and I will do my best!
    Peace,
    Jai
    www.IamHomeBusiness.com
    Multimedia, Video, & Audio Production That Home Business Owners Can Afford!!
     
    JaiHutcherson, Aug 4, 2009 IP
  5. yodayoz

    yodayoz Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    upload the video on youtube, and place its code on your website. This way it helps in saving the bandiwdth of your web space hosting
     
    yodayoz, Aug 5, 2009 IP