This links to a video file on the filesystem, using an thumbnail image as thumbnail. This is not very optimal, as the browser will load the entire file before starting to play.

Name

me-video

Macro Body Processing

No macro body

Output format

HTML

Code

## @param path:title=Status|type=string|required=true|desc=File Path
## @param image:title=Image|type=string|required=true|desc=Image Name
## @param thumbsize:title=Thumbsize|type=string|required=false|desc=Thumbnail Size
## @param displaysize:title=Displaysize|type=string|required=false|desc=Display Size

## Default Thumb and Display Sizes:
#set($ThumbSizeDefault=200)
#set($DisplaySizeDefault=800)


#if (${paramthumbsize} != "" )
#set($ThumbSizeDefault=${paramthumbsize})
#end


#if (${paramdisplaysize} != "" )
#set($DisplaySizeDefault=${paramdisplaysize})
#end
 
<a href="/images/${parampath}${paramimage}" title=""><img src="/images/${parampath}/thumbs/${ThumbSizeDefault}pxHigh/${paramimage}.jpg"></a>
  • Ingen etiketter