<cfmediaplayer>

This tag may have a body.

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

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

Height of the media player, in pixels.

controlbar
boolean, optional

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

quality
string, optional

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

hidetitle
boolean, optional

If true, displays the title.

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 a recognized color name, for example red.

style
string, optional
fullscreencontrol
boolean, optional

Whether full screen is enabled

wmode
string, optional

Specifies the absolute positioning and layering capabilities in your browser

oncomplete
string, optional

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

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.

image
string, optional

image displayed when movie is stopped

autoplay
boolean, optional

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

name
string, optional

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

onload
string, optional

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

load
boolean, optional

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

delimiter
string, optional

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

title
string, optional

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

hideborder
boolean, optional

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

onstart
string, optional

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

Examples

There are currently no examples for this tag.

See also