Hi, working on a windows gadget for videos, evrything working fine exept after movie has ended it just wont repeat, i tryed this code <param name="loop" value="true"> still dont work, anyhow here is the code for the player <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Game Tracer</title> <link href="player.css" rel="stylesheet" type="text/css"/> <script src="scripts.js" type="text/javascript" language="javascript"></script> <SCRIPT LANGUAGE = "JScript" FOR = MediaPlayer1 EVENT = PlayStateChange(NewState)> // Test for the current state. switch (NewState){ // stopped case 1: mstop(); checkcontrols(); hideloadingmsg(); break; // pause case 2: mpause(); checkcontrols(); hideloadingmsg(); break; // playing case 3: mplay(); checkcontrols(); hideloadingmsg(); break; // buffering case 6: showloadingmsg(); checkcontrols(); break; // waiting case 7: showloadingmsg(); checkcontrols(); break; // transitioning case 9: showloadingmsg(); checkcontrols(); break; // ready case 10: mready(); checkcontrols(); hideloadingmsg(); break; // reconnecting case 11: showloadingmsg(); checkcontrols(); break; // Other cases go here. default: mready(); checkcontrols(); hideloadingmsg(); break; } </script> </head> <body onload="setup();"> <g:background id="imgBackground"> <span id="gadgetContent"> <div id="loadingmsg" style="position: absolute; left: 6px; top: 80px; width: 116px; height: 12px; overflow: hidden; text-align: left; outline=none; visibility: hidden; z-index=1; font-family: Verdana, Geneva, Arial, Helvetica, sans- serif; font-weight: normal; font-size: 9px; background-color:#002346; color: #158aff; padding-left : 1px; padding-right : 1px;"></div> <OBJECT id="MediaPlayer1" width="116" height="87" style="position:absolute; left:6;top:5;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE=""> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="False"> <PARAM name="uiMode" value="none"> <PARAM name="PlayCount" value="1"> <param name="windowlessVideo" value="false" /> <param name="loop" value="true"> </OBJECT> HTML: Rest code is only design related, hope someone can find the problem here thanks