Controlling the starting video

I want to take my test and alter it so that it starts with a background image and buttons, but the video does not start playing until requested via a button.

How do I prevent the video from playing from start up?

[214 byte] By [wmerydith] at [2008-2-16]
# 1
One way is to have two Titles: the first runs your existing code, and has no AV clips in it (and loops to itself). When the button is clicked, jump to the second title, which runs your video.
AndyPennellMSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 2
So you mean I omit the media altogether? It won't validate, so I assume you mean something else.

<Title titleNumber="1" titleDuration="00:00:00:00" id="blank" displayName="blank" onEnd="blank">

</Title>
wmerydith at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 3
Actually yes that does work thanks. Something else was causing the error.
wmerydith at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 4

Although iHDSim works with no A/V, the spec requires it. So you should have (eg) a 10-second clip of just blackness, and then you can either:

  1. Have the video loop on itself
  2. Pause the video as soon as it starts (either by a script or by a Scheduled Pause event) and over-ride the play / FF / etc. keys so that the don't do anything

PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 5
I thought I did catch that in the spec (AV required).

And looping is simply done by referencing the same title in "onEnd" right?

wmerydith at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 6
Yes; look at sections 6.2.3.1 and 4.3.19.5.1
PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...