This page last changed on Jan 20, 2012 by jed.wheeler@involver.com.
Overview
Used to embed a flash file in Facebook.
Caching Considerations
This tag has no caching considerations.
Attributes
name |
type |
description |
swfsrc |
string |
The URL of the Flash object. The URL must be absolute. |
imgsrc |
string |
The URL of the image (.gif and .jpg formats only). Default value is http://embed.involver.com/images/video_player/default_video_player_image.png; Note that this renders the Flash object unusable and invisible on profile pages, if no height/width parameters are set. |
height |
int |
The height of the image and the Flash object. |
width |
int |
The width of the image and the Flash object. |
imgstyle |
string |
The style attribute for the image. |
imgclass |
string |
The class attribute for the image. |
flashvars |
string |
The URL-encoded Flash variables. Also passes the fb_sig_ values as described in the section on Forms. |
allowscriptaccess |
boolean |
Default set to true, should not be used because setting to false breaks flash in IE. |
swfbgcolor |
string |
The hex-encoded background color for the Flash object. By default, a Flash object's background defaults to transparent, so if you want a background color, specify one for this attribute. |
waitforclick |
bool |
Indicates whether to autoplay the Flash object (false) when allowed. false does not work in profiles for security and aesthetic reasons, except after an AJAX call. Default value is true |
salign |
string |
The salign attribute from normal Flash <embed>. Specify t (top), b (bottom)l (left), r(right) or a combination (tl, tr, bl, br) |
loop |
bool |
Indicates whether to play the Flash object continuously. Specify true or false |
quality |
string |
Indicates the quality of the object. Specify best, high, medium or low. |
scale |
string |
The scaling to apply to the object. Specify showall, noborder, exactfit |
align |
string |
Indicates how the browser aligns the obect. Specify left, center or right |
wmode |
string |
Indicates the opacity setting for the object. Specify transparent, opaque or window. Default value is transparent |
class |
string |
The class attribute for the div element that contains the flash embed |
style |
string |
The style attribute for the div element that contains the flash embed |
onclick |
string |
The handler for javascript code on every click of the div element that contains the flash embed |
onfirstclick |
string |
Same as onclick, except the javascript is only executed on the first click of the div element |
Context Variables
name |
type |
description |
var |
string |
This is a context variable. |
Examples
Example 1
Embed a youtube video with a thumbnail:
{% flash_embed swfsrc:"http: imgsrc:"http://img.youtube.com/vi/0Bmhjf0rKe8/2.jpg" width:340 height:270 %}
FAQ
This tag currently has no FAQ questions.
Related Topics
|