Exception Handling

An HD DVD player may throw exceptions during the execution of script, and if not caught will result in a player crash (showing an error code of 0x4094C00C on Toshiba or 0xC667000B on Xbox).  While it’s always a good idea to check conditions which could cause an exception to be thrown, an exception could still be…

2

Virtual Keyboards

The input tag has four options for mode: password, singleline, multiline or display. When an input element with singleline, multiline, or password mode receives focus, the player may launch an onscreen keyboard to allow user input or a software player may enable use of the computer keyboard. This is not required, though (currently, only the…

0

HD DVD Script Object Model

Have you ever been working on an HDi project and needed to look up a method name in Annex Z, but you don’t have it handy (or access at all)?  Well, luckily the Interactivity Jumpstart Kit ships with the HD DVD Script Object Model as a Visio file and a PNG.  You’ll find this very…

0

Dynamic Content

Today’s sample was created upon a request from my very nice and hard working office-mate Chris.  Last week Chris began learning HDi.  He whizzed through all the Jumpstart samples and the projects on my blog, and jumped into creating a project that would dynamically generate content on the fly.  After messing around with his project for a…

0

HD DVD FAQs

General Why is Microsoft involved in HD DVD?Microsoft supports HD DVD because the mandatory player features such as persistent storage, picture-in-picture, and network connectivity lead to greater interactivity and a better, more consistent user experience.  Read more in the white paper available at ThisIsHDDVD.com: http://www.thisishddvd.com/Downloads/WhatIsHDDVD.pdfWhat is HDi?HDi is Microsoft’s implementation of advanced interactivity for HD DVD.  Players…

1

Saving Resume Information, part II

In a previous post, I stated that when you press the stop button on your player, you have 2 seconds to continue to execute code before the player shuts down.  But, that statement needs to be qualified.  If you try to delay the application_end (or the deprecated stop_request) event by calling preventDefault when the user has pressed…

0

Very Simple Network Example

I have received a couple requests for an example of networking, so I put something very basic together to show some simple functionality.  What it does have: Functionality to download a file from a server to persistent storage Calculation of percentage of download complete What it does not have: Server component – This will work in…

1

Saving Resume Information

If you’ve purchased a DVD player in the last few years or used a software player, likely you’ve experienced a built in player feature that remembers where you last left off in the movie and allows you to resume play from that point.  That functionality is player dependent – and usually the memory is discarded…

1

Persistent Storage Management

One of the great features mandatory on every HD DVD player is at least 128 MB of persistent storage.  Many discs on the market are taking advantage of this feature to allow you to do things like save bookmarked scenes, download new trailers, or cache your login information to access network enabled content. The players…

1

Blackjack

Today’s game example is inspired by Ocean’s 13 (available on HD DVD this fall).  Blackjack is one of my favorite casino games, but I was too busy at NAB this year to make it to the tables.  So, here it is for you in HDi (with some graphics assistance from John Green – Thanks, John!).  …

1