Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Help embedding Xivid/Divx

Options
  • 16-06-2007 5:42pm
    #1
    Registered Users Posts: 3,282 ✭✭✭


    Im trying to get windows media player to play my Xvid video from a webpage. The player appears on the page but it wont play the file. It keeps wanting to download pluggins.

    Heres the code so far.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
     <HEAD>
      <TITLE> New Document </TITLE>
      <META NAME="Generator" CONTENT="EditPlus">
      <META NAME="Author" CONTENT="">
      <META NAME="Keywords" CONTENT="">
      <META NAME="Description" CONTENT="">
    
     </HEAD>
    
     <BODY>
    <object id="MediaPlayer" width=320 height=286 classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" 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="videos/1.avi">
    <param name="Showcontrols" value="True">
    <param name="autoStart" value="True">
    
    <embed type="application/x-mplayer2" src="videos/1.avi" name="MediaPlayer" width=320 height=240></embed>
    
    </object>
    </br>
    
    
    
    
    <OBJECT ID="MediaPlayer1" width=192 height=189 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902 standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
    
    <PARAM NAME="FileName" VALUE="1.avi">
    <PARAM NAME="animationatStart" VALUE="true">
    <PARAM NAME="autoStart" VALUE="false">
    <PARAM NAME="showControls" VALUE="true">
    
    <EMBED type="application/x-mplayer2" pluginspage = http://www.microsoft.com/Windows/MediaPlayer/ SRC="1.avi" name="MediaPlayer1" width=192 height=189 AutoStart=false></EMBED>
    
    </OBJECT> 
    
     </BODY>
    </HTML>
    

    And here is the video: http://www.filefactory.com/file/6a5db8/

    I'm able to play the Divx videos with the Divx player.
    http://labs.divx.com/WebPlayerCodeGenerator

    If Xvid had this it would be cool. But I cant find anything like it so Im resorting to getting windows media player to play Xvid. Im willing to try other players that can stream Xvid over the web also.


Comments

  • Subscribers Posts: 9,716 ✭✭✭CuLT


    You need to download and install the DivX for web plugin when you're watching DivX files through a browser.

    Same as the first time you visit http://stage6.divx.com


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    problem with this is .. your expecting your basic webuser to know how to do this as well ... so ultimately I think its doomed to failure ...


  • Registered Users Posts: 3,282 ✭✭✭BlackWizard


    Works fine now. I didnt know Divx web player could play Xvid. Turns out if you uninstall all the Divx codecs and just install the webplayer , then it will play Xvid videos for you :D

    Im not a basic web user so I don't think there will be much of a problem there forbairt ;) So doomed I think not.


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    Im not a basic web user so I don't think there will be much of a problem there forbairt ;) So doomed I think not.

    You're not ... but I'd assumed the webpage would be for your average webuser ... :) if its just internal or for yourself then you're good to go :)


Advertisement