Vendor MindTouch
Type Extension
Categories Media
Requires MindTouch 1.8.2 or later
OS Restriction None
Status Stable
License Free/Open Source
SID (service id) sid://mindtouch.com/2007/06/media
Assembly mindtouch.deki.services

 

Description

This extension contains functions for embedding various media types.

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

Functions:

  1. media

media(source : uri, width : num, height : num, start : bool) : xml

Embed a media source (audio/video).

Parameters:

Name Type Description
source uri Media URI.
width num Optional.  Media width (default: 425)
height num Optional.  Media height (default: 350)
start bool Optional.  Auto-start media on load (default: false)

Samples:

  Output

To embed a local video:

{{ media("http://wiki.opengarden.org/@api/deki/files/1191", 200, 200) }} 
To embed a local video without explicitly defining the entire path:
{{ media(site.api.."/files/1191/=myvidio.wmv", 200, 200) }} 
./Media1.JPG

To embed a YouTube video:

{{ media("http://www.youtube.com/watch?v=XxSjNkkqyoo", 200, 200) }}
./Media2.JPG

To embed a Google video:

{{ media("http://video.google.com/videoplay?docid=-1340903348805870454", 200, 200) }} 
./Media3.JPG

To embed a VMix video:

{{ media("http://media.vmixcore.com/core-flash/single_video_resizeable.swf?token=31e47ed5db74c015bfd22b77085e0338", 200, 200) }} 

./Media4.JPG

To embed a Viddler video:

{{ media("http://www.viddler.com/explore/Roebot/videos/1", 200, 200) }} 
./Media5.JPG

To embed a Veoh video:

{{  media("http://www.veoh.com/videos/v888853cRFBddHT", 200, 200)  }} 
./Media6.JPG

To embed a Ustream video:

{{ media("http://www.ustream.tv/lENOXuBsRKDm0aWZMk5iIU0MZvteE4Pm.usv", 200, 200) }}
./Media7.JPG

 

Tag page

Files 1

FileSizeDateAttached by 
 Sample.mov
No description
54.32 kB20:00, 19 Oct 2007BrigetteKActions
Viewing 1 of 1 comments: view all
can you embed video by uploading your own?
Posted 08:12, 18 Aug 2007
Viewing 1 of 1 comments: view all
You must login to post a comment.