1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to include video in website?

Discussion in 'BlackHat Lounge' started by nonai, Nov 26, 2013.

  1. nonai

    nonai Power Member

    Joined:
    Oct 10, 2013
    Messages:
    524
    Likes Received:
    63
    Hi
    I have a client that wants me to include some videos on his website. He wants to have a picture on one of the pages (this I can do)
    then, when the user clicks on the picture, another page should open, and the video should be on that new page. The video should auto start. This, I cannot do.
    He does not want me to use youtube or any other video sharing site. the videos must be hosted on his own domain.

    I have the videos on my hard drive and don't know how to do this. I looked at flowplayer and can't figure it out. the instructions for flowplayer suck.
    here is part of the code for flowplayer that I dont understand
    Code:
     <source type="video/webm" src="http://stream.flowplayer.org/bauhaus/624x260.webm">
             <source type="video/mp4" src="http://stream.flowplayer.org/bauhaus/624x260.mp4">
             <source type="video/ogv" src="http://stream.flowplayer.org/bauhaus/624x260.ogv">
    it seems that all these lines are required. If I get rid of the first and last line and only include the .mp4 line, it doesn't work.
    there is also phpmotion, which seems even more complicated.

    I am really confused. how do I include a video in an html website?
     
  2. SkyrocketSEO

    SkyrocketSEO Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2012
    Messages:
    4,344
    Likes Received:
    11,240
    Occupation:
    travəlɪŋ
    Location:
    Aibres
    Home Page: