Fb:silverlight

From Facebook Developers Wiki

Jump to: navigation, search

[edit] Description

Renders a Microsoft Silverlight control. On profile pages, an image appears first. When the user clicks the image, it turns into the control. On canvas pages, the image does not appear, and the Silverlight control is directly included.


[edit] Attributes

RequiredNameTypeDescription
required silverlightsrc string The URL of the Silverlight control.
optional imgsrc string The URL of the image (.gif and .jpg formats only). (default value is [1]. Note that this renders the Silverlight control unusable and invisible on profile pages.)
height int The height of the image and Silverlight control.
width int The width of the image and Silverlight control.
imgstyle string The style attribute for the image.
imgclass string The class attribute for the image.
swfbgcolor string The hex-encoded background color for the Silverlight control.


[edit] Examples

<fb:silverlight silverlightsrc="http://www.somesite.com/silverlight" />