This question about Using an extension: Answered

Displaying video files using attachment list plugin

Is it possible to show attached videos inline in the page using this plugin. Similar to what you do for images with this plugin.
To get a list of video urls, write:
%ATTACHMENTLIST{
extension="mov"
format="   * $fileUrl"
}%

To display them inline, use another plugin like MediaPlugin. To delay formatting each result, escape the MEDIA macro with $percnt and backslash quotes:

%ATTACHMENTLIST{
extension="mov"
format="$percntMEDIA{
src=\"$fileUrl\"
width=\"320\"
height=\"180\"
controller=\"FALSE\"
play=\"TRUE\"
}$percnt"
}%

-- ArthurClemens - 12 Nov 2011

QuestionForm edit

Subject Using an extension
Extension AttachmentListPlugin
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r3 - 12 Nov 2011, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy