Can we use MS Jscript for HD-DVD advance Player?

I’m working on developing HD-DVD Advance player. Now I encounter a problem about how to impletion Jscript analyze when we develope software player for HD-DVD advance content. We find Spidemonkey JS Engine can satisfy this requirement. But I want to use MS Jscript, so I hope you can help me. Thank u!

[410 byte] By [alexchina] at [2008-2-12]
# 1

iHD uses ECMA script (compact profile), a standardised version of MS Jscript. Hence you would need ECMA script parser Engine to implement script support.

rekhareflection at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 2

Thank you.

Yes. I know it need JS parser in HD DVD advance player and the Spidermonkey is one JS parser. But I want to know Microsoft Jscript.dll can implement this function or not? If it can, how should I use it in my program?
alexchina at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 3

If you want to build a player, using JScript should be fine (that's what iHDSim uses).

If you want to build a validator, using JScript alone is not enough, since it implements more features than the HD DVD spec allows.

You can just host JScript using the IActiveScript interfaces, documented on MSDN.

PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 4

Thank u, Peter Torr!

Can you give me some example about how to use Jscript?

alexchina at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 5

You should start off reading this page:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/3d10169f-2984-49ef-90c6-dd89c97f1dd6.asp?frame=true

The easiest way to host is via the Script Control, but that might not give you enough flexibility. Unfortunately the documentation seems to have disappeared from MSDN, but you can check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting071299.asp and probably figure out what's going on just by browsing msscript.ocx in an object browser.

PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...