Results 1 to 3 of 3

Thread: help with displaying a wmp video

  1. #1
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with displaying a wmp video

    I'm doing a redux of a site at school and I need to put up a video on the site for the 'client'.

    here is my code:

    <object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="320" height="290" align="middle" id="mediaplayer1" name="mediaplayer1" title="Condo tour">
    <param name="FileName" value="videoTour.avi" />
    <param name="AutoStart" value="False" />
    <param name="ShowControls" value="True" />
    <param name="ShowStatusBar" value="False" />
    <param name="ShowDisplay" value="False" />
    <param name="AutoRewind" value="True" />
    <embed src="../videoTour.avi" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" width="320" height="290" autostart="False" align="middle" filename="videoTour.avi" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True"></embed>
    </object>

    the problem is not that the media player doesn't show, but that it won't play the video.

  2. #2
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hey never mind the code was fine, you just need to have the video in the same folder as the page calling it

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    This may not be an issue because of your "client" but you should be wary of embedding for cross-browser compatibility.

    You can see this site for more information and compatibility work arounds for various file types.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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