Vendor MindTouch
Type Extension
Categories Media, Graphics
Requires MindTouch 1.9b or later
OS Restriction None
Status Stable
License Free/Open Source
SID (service id) sid://mindtouch.com/2008/02/silverlight
Assembly mindtouch.deki.services

 

Table of Contents

Description

This extension contains functions for embedding Microsoft Silverlight content. Silverlight is a cross-browser, cross-platform, and cross-device plug-in for delivering the next generation of media experiences and rich interactive applications for the Web.

See also How to add an extension, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.



silverlight.embed(source : str, width : num, height : num, version : str, backgroundcolor : str, windowless : bool) : xml

Embed a Silverlight control from source text or source uri.

Parameters:

Name Type Description
source str Silverlight source code or source URI
width num Optional.  Control width (default: 100%)
height num Optional.  Control height (default: 250)
version str Optional.  Silverlight version (default: '1.0')
backgroundcolor str Optional.  Control background color (default: body background color)
windowless bool Optional.  Window-less mode (default: true)

Samples:

  Output

To embed a Silverlight control using a URI (note, the URI must have the same domain as the wiki site):

{{ silverlight.embed('http://wiki.opengarden.org/@api/deki/files/1965/=sample.xaml') }} 
xaml-sample.png

 

Tag page

Files 1

FileSizeDateAttached by 
 sample.xaml
Silverlight XAML file
1218 bytes21:00, 6 Mar 2008SteveBActions
You must login to post a comment.