lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hello all!

Windows has ActiveX component MediaPlayer which implements IMediaPlayer interface.
So if i'l write javascript code:

var player = new ActiveXObject("MediaPlayer.MediaPlayer")
, that works fine.

But the same code in Lua rise error:

local player=luacom.CreateObject("MediaPlayer.MediaPlayer")

player:AboutBox() -- ok
player.FilePath="somefile.mp3" --ok
player:Play() -- error

LuaCom ver 1.3
Lua 5.1 work5


Бесплатная почтовая служба Gala Mail -
WEB, WAP и POP3 доступ, мощные фильтры и защита от спама.