How to add video in a html site

Discussion in 'HTML & Website Design' started by moon2091, May 15, 2011.

  1. #1
    hay guys how to add a video in my html site ?
    and how to create more interactive and good looking site without using flash !
     
    moon2091, May 15, 2011 IP
  2. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #2
    Use embed tag to add video file

    example

    <embed src="filename.mpg" width=300 height=300 autostart=true>
     
    karthimx, May 15, 2011 IP
  3. ravia

    ravia Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    u use dreamweaver its so easy.
     
    ravia, May 15, 2011 IP
  4. om39a

    om39a Peon

    Messages:
    287
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    U can use object tag. It can be used to not only video, any object. :p
     
    om39a, May 15, 2011 IP
  5. ken.sweet

    ken.sweet Active Member

    Messages:
    683
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    93
    #5
    Use w3c validated object tag instead of embed tag. pm me for the entire code.
     
    ken.sweet, May 15, 2011 IP
  6. b2tang

    b2tang Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yeah, you can use the code as belown:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="482" height="314" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="girls_generation_live_location_edition.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#ffffff">
    <param name="allowFullScreen" value="true">
    <embed src="girls_generation_live_location_edition.swf" quality="high" align="middle" bgcolor="#ffffff" width="482" height="314" allowFullScreen="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
    </object>

    I have use this method to create a video share website: http://video.vxworks6.com
     
    b2tang, May 15, 2011 IP
  7. weknowonlinemarketing

    weknowonlinemarketing Peon

    Messages:
    681
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    This is the right code.
    Your site can be looks good without the Flash. Choose the best color scheme, Font Style. You can also use the Marque Tag.
     
    weknowonlinemarketing, May 15, 2011 IP
  8. moon2091

    moon2091 Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks a lot !
     
    moon2091, May 16, 2011 IP
  9. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #9
    What'e the deal with Dreamweaver, it's just you need to know HTML.
     
    radiant_luv, May 16, 2011 IP
  10. mrkt.101

    mrkt.101 Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    use the object tag using dreamweaver (;
     
    mrkt.101, May 18, 2011 IP
  11. Alamgir Rajab

    Alamgir Rajab Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Use embed tag to add video file
     
    Alamgir Rajab, May 18, 2011 IP
  12. om39a

    om39a Peon

    Messages:
    287
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    You Dont accept the <object> ==> <embled> is old and it is replaced by <object>
     
    om39a, May 19, 2011 IP
  13. marilynlia00

    marilynlia00 Greenhorn

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #13
    here is exact code


    <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="" height="">

    <param name="movie" value="">
    <param name="quality" value="high">
    <embed src="" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="748" height="200" style="margin-left:-21px; margin-bottom:8px;"></embed></object>
     
    marilynlia00, May 19, 2011 IP
  14. gamingmaster42

    gamingmaster42 Well-Known Member

    Messages:
    511
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    165
    #14
    Yes embed is really outdated, object is the new standard and is more widely accepted.
     
    gamingmaster42, May 23, 2011 IP
  15. moon2091

    moon2091 Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    @gamingmaster42 Thanks a lot you guys are awesome !
     
    moon2091, May 23, 2011 IP
  16. dynic

    dynic Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #16
    The latest version of HTML is very easy to embed videos,the <video> tag makes its simple

    example

    <video src="/video/pass-countdown.ogg" width="300" height="150" controls>
    </video>
     
    dynic, May 24, 2011 IP
  17. Atco-maart

    Atco-maart Peon

    Messages:
    435
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I hope below code is helpful to you !!!!

    <video src="/video/pass-countdown.ogg" width="200" height="100" controls></video>
     
    Atco-maart, May 25, 2011 IP
  18. flingstick

    flingstick Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    go to youtube then click embed,copy the code,replace the url inside src="" with your new video link then your good to go :D
     
    flingstick, May 26, 2011 IP
  19. kooldesigning

    kooldesigning Greenhorn

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #19
    This is correct tag
    <embed src="filename.mpg" width=300 height=300 autostart=true></embed>
     
    kooldesigning, May 26, 2011 IP
  20. megataculous

    megataculous Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    I agree with flingstick, youtube embed if you don't know html... or dreamweaver... but if you are doing html you need to be up to date on html5 and that requires videos in 3 different codecs to work. so I would say embed would be easiest for you
     
    megataculous, May 26, 2011 IP