<cfmediaplayer>

This tag may have a body.

This tag has no <cfscript> support or it uses a different syntax.

Attribute Description
controlbar
boolean, optional

A Boolean value that specifies if you want to display the control panel for the media player

height
numeric, optional

Height of the media player, in pixels.

hidetitle
boolean, optional

If true, displays the title.

quality
string, optional

The quality of the media playback (only used for flash fallback)

source
any, required

The URL (absolute or relative to the current page) to the movie files, supported formats are (mp4,ogg,webm). not every Browser supports the same format, define as many formats possible. You can define the urls as string list or as array

align
string, optional

Specifies the horizontal alignment of the media player. You can select from left, right, and center.

bgcolor
string, optional

The background color of the media player specified as a Hexadecimal value or or a recognized color name, for example red.

style
string, optional
fullscreencontrol
boolean, optional

Whether full screen is enabled

oncomplete
string, optional

Custom JavaScript function to run when the FLV file has finished playing.

wmode
string, optional

Specifies the absolute positioning and layering capabilities in your browser

width
numeric, optional

Width of the media player, in pixels.

printjscontrols
boolean, optional

it set to true, all possible JS Controls ar printed after the video.

autoplay
boolean, optional

A Boolean value that specifies if the media player must automatically play the FLV file on loading the CFM page

image
string, optional

image displayed when movie is stopped

name
string, optional

Name of the media player. the name attribute is required when you invoke JavaScript functions.

load
boolean, optional

if set to true, start loading before play was pressed.

onload
string, optional

Custom JavaScript function to run on loading of the player component.

hideborder
boolean, optional

A Boolean value that specifies if you want a border for the media player panel

title
string, optional

Title for the video, if not set, the video file name is used.

delimiter
string, optional

delimiter used to separate urls in source attribute, default is comma

onstart
string, optional

Custom JavaScript function to run when the FLV file starts playing.

<cfmediaplayer
    [controlbar=boolean]
    [height=numeric]
    [hidetitle=boolean]
    [quality=string]
    source=any
    [align=string]
    [bgcolor=string]
    [style=string]
    [fullscreencontrol=boolean]
    [oncomplete=string]
    [wmode=string]
    [width=numeric]
    [printjscontrols=boolean]
    [autoplay=boolean]
    [image=string]
    [name=string]
    [load=boolean]
    [onload=string]
    [hideborder=boolean]
    [title=string]
    [delimiter=string]
    [onstart=string]
><!--- body --->[</cfmediaplayer>]

Examples

There are currently no examples for this tag.

See also