Results 1 to 3 of 3
  1. #1

    code for resizing the window

    Can you please check this embedded code. The viewer should be able to resize the window.

    Code:
    <OBJECT ID="MediaPlayer" WIDTH="350" HEIGHT="450" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
    STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="http://link7.streamhoster.com/?u=Leena&p=%2FSecMgmt256K.wmv&odaid=4145&w=360&h=240&title=Easy+Video+Player">
    <PARAM name="ShowControls" VALUE="true">
    <param name="ShowStatusBar" value="true">
    <PARAM name="ShowDisplay" VALUE="false">
    <PARAM name="autostart" VALUE="false">
    <param name="AllowChangeDisplaySize" value="-1">
    <EMBED TYPE="application/x-mplayer2" SRC="http://link7.streamhoster.com/?u=Leena&p=%2FSecMgmt256K.wmv&odaid=4145&w=360&h=240&title=Easy+Video+Player" NAME="MediaPlayer"
    WIDTH="358" HEIGHT="242" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="0"> </EMBED>
    </OBJECT>

    I tried the resizing the window but did not have much luck.
    url for the embedded video is
    http://www.securitymanagement.com/video/Untitled_1.htm

    thanks for all your help

  2. #2
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79
    Sorry Leena, I'm not quite sure what you're trying to do here. This code is for embedding Windows Media Player into a web page. What exactly do you mean by resizing the window? Do you mean the browser window? Or do you want the media player to be resizable?
    Dave Owen
    MediaCollege.com

  3. #3
    Hi Dave.....new to the site and came about when I used the code from the site to embed a wmv file on a webpage but I am unable to resize the video window. The defaults were 92 width and 90 height Any help would be appreciated. Here is the webpage http://www.blacklightshop.com/mbl9.wmv

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
  •  
Subscribe to us on YouTube