Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Video's on webpages

    i have a short mpeg which i want to put onto my website, i have uploaded it onto my webshell (angelfire) but i don't know what i have to write to get it to show on the site. any help would be preciated

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There are many ways to do that. I'm using this on a (valid) xhtml page:

    <object width="150" height="150" data="movie.mpg" type="video/quicktime">This is a <a href="http://www.apple.com/quicktime/download/">QuickTime</a> movie.</object>

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Raleigh, NC
    Posts
    484
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is what use for mpgs and asf files...

    Code:
    <OBJECT ID="mediaPlayer" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
                 CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
                 STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject" >
                 <PARAM NAME="fileName" VALUE="yourmovie.mpg ">
                 <PARAM NAME="animationatStart" VALUE="true">
                 <PARAM NAME="transparentatStart" VALUE="false">
                 <PARAM NAME="autoStart" VALUE="true">
                 <PARAM NAME="showControls" VALUE="true">
                 <PARAM NAME="AutoSize" VALUE="1">
    
                 <EMBED TYPE="application/x-mplayer2" PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
                 ID=mediaPlayer NAME="mediaPlayer"
                 DISPLAYSIZE="4" 
                 AUTOSIZE="-1"
                 BGCOLOR="darkblue"
                 SHOWCONTROLS="-1" 
                 SHOWTRACKER="-1"
                 SHOWDISPLAY="0"
                 SHOWSTATUSBAR="-1"
                 VIDEOBORDER3D="-1"
                 WIDTH=320
                 HEIGHT=313
                 SRC="http://msdn.microsoft.com/downloads/samples/Internet/imedia/netshow/smedia/NS3/JavaScript/Buttons/control.asx"
                 AUTOSTART="-1" DESIGNTIMESP="5311">
                 </EMBED> 
    </OBJECT>
    -WebMark Art
    Programming is 80% thinking and 20% spelling


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •