Embedded WMV over and over again

Discussion in 'Graphics & Multimedia' started by Jan-Erik, Mar 26, 2008.

  1. #1
    I'm a new member, and shall try my very best to express myself in English. If you find it ununderstandable, why not try to use some Swedish yourself?:eek:

    my problem is the following:
    When I launch my wmv-videos and have set 'autoplay=true' and 'loop=false' it appears thet 'autoplay' overruns 'loop'. That is, if I close the video it restarts after a certain amount of time.
    Disturbing!
    How come?

    Here is what I Use: (swe: 'bredd'='width', 'stang='close'','andra='change')

    <? if ($vbredd=="") {$vbredd=400;} ?>
    <table style="font-size: 11px; color:#ffffff;"><tr>
    <td><form action="tjindex.php" method="POST">
    <input name="clsforlst" type="submit" value="stang">
    </form>
    </td>
    <td><form action="" method="POST">
    videobredd:
    <input name="vbredd" type="text" value="<? echo $vbredd; ?>" size="3" maxlength="3">
    <input name="clsforlst" type="submit" value="andra">
    </form></td>
    <td>...laddar...
    </td>
    </tr></table>
    <object id="MediaPlayer"
    width=<? echo $vbredd;?>
    height=<? echo 0.95*$vbredd;?>
    classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
    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="<? echo $video;?>">
    <param name="Showcontrols" value="True">
    <param name="autoStart" value="yes">
    <param name="loop" value="false">

    <embed
    type="application/x-mplayer2"
    src="<? echo $video;?>"
    name="MediaPlayer"
    width=<? echo $vbredd;?>
    height=<? echo 0.95*$vbredd;?> >
    </embed>

    </object>
     
    Jan-Erik, Mar 26, 2008 IP