|
|||
|
You can use the "EndOfStream" event of the Windows Media Player, http://msdn.microsoft.com/library/de...dk/default.asp
Code:
var var1 = createControl("MediaPlayer.MediaPlayer.1", 0, 0, 200, 200);
var m = var1.activex;
m.open("2.mp3");
m.endofstream = function (l)
{
var wnd = getMainWnd();
wnd.close();
}
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|