The HTML Alternative content is always rendered. In the rendered page, it is placed within an HTML element, whose ID attribute matches that of the ASPNetFlashVideo WebControl instance. In the case that FlashVideo is available to the user, the WebControl's FlashVideo Movie is written over this content. The HTML Alternative can be defined in 2 ways:
- Using the WebControl Smart Tags (Edit Templates) - Visual Studio 2005 only.
- Directly in the ASPX Code View
The HTML alternative can contain any ASPX-style content except for code blocks i.e.: <% Response.Write("Hello World"); %>. To test and debug your HTML alternative, you can set the WebControl's Enabled property to false. Then, when you run the web application, the HTML alternative will render as if your browser could not display the FlashVideo Movie.