HTML and CSS Reference
In-Depth Information
Silverlight files have an .xap extension, which can be seen in the <param> tag with the
name=”source” attribute. In this example, the alternative content includes a linked image
that allows users who do not have the Silverlight plug-in to get it.
Silverlight has a robust set of parameters that can be used to customize the viewer's user experience.
Here's an overview of some of the most frequently used parameters:
: Controls whether the Silverlight application can open in a separate
window. Accepted values are true and false .
: Determines whether the automatic zoom features available in Internet
Explorer 8 and above can be used. Accepted values are true and false .
: Defines a path to the file initially displayed by a Silverlight plug-in.
: Sets the rendering mode for Silverlight playback. When set to false (the
default option), the Silverlight application is displayed in a window; when true , the applica-
tion plays without the window border.
Try iT
In this Try It you learn how to incorporate plug-in content into your web page.
Lesson requirements
You will need the tpa_lunarlanding.html file from the Lesson_23 folder, as well as a text editor
and web browser.
You can download the code and resources for this lesson from the topic's web
page at .
Open your text editor.
From the Lesson_23 folder, open tpa_lunarlanding.html .
Put your cursor after the <div id=”lunarVideo”> tag and press Enter (Return).
Enter the following code:
<object width=”640” height=”385”>
<param name=”movie” value=”;
<param name=”allowFullScreen” value=”true”></param>
<param name=”allowscriptaccess” value=”always”></param>
<embed src=”;hl =en_US&amp;
rel=0” type=”application/x-shockwave-flash” allowscriptaccess=”always”
Search WWH ::

Custom Search