embedding an avi video

Discussion in 'HTML & Website Design' started by Davey Crocket, Dec 3, 2007.

  1. #1
    I am trying to embed an .avi file into a webpage. This code works below, but it also pops up a blank popup which I don't need. Anyone know what the correct code should be or what I should delete?


    <A onclick="window.open('http://mywebsite.com/video.avi','','width=240,height=240,resizable=0')" href="javascript:;"><img src = "http://mywebsite.com/camerapicture.jpg" align="middle" border=0>View the Art Cook Video</a>
     
    Davey Crocket, Dec 3, 2007 IP
  2. luvlee

    luvlee Peon

    Messages:
    333
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi Davey

    If you don't want any pop up - here's the code:

    <A href="http://mywebsite.com/video.avi"><img src = "http://mywebsite.com/camerapicture.jpg" align="middle" border=0>View the Art Cook Video</a></body>


    And if you want to embed the video with the player, the code:

    <object width="425" height="355"><param name="movie" value="http://mywebsite.com/video.avi"></param><param name="wmode" value="transparent"></param><embed src="http://mywebsite.com/video.avi" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
     
    luvlee, Dec 4, 2007 IP