cfmediaplayer

Creates an in-built media player that lets you play FLV files

 <cfmediaplayer source="">

 cfmediaplayer(source="");

The cfmediaplayer tag is DEPRECATED as of ColdFusion 2016

Attribute Reference for the cfmediaplayer tag

width

Required: No
Width of the media player, in pixels.

height

Required: No
Height of the media player, in pixels.

fullscreencontrol

Required: No
Whether full screen is enabled Values:
  • NO
  • YES

hideBorder

Required: No
A Boolean value that specifies if you want to hide border for the media player panel Values:
  • NO
  • YES

controlbar

Required: No
A Boolean value that specifies if you want to display the control panel for the media player Values:
  • NO
  • YES

align

Required: No
Specifies the vertical alignment of the media player. Values:
  • left
  • right
  • center

onload

Required: No
Custom JavaScript function to run on loading th player component.

bgcolor

Required: No
The background color of the media player specified as a Hexadecimal value without a "#"

source

Required: Yes
The URL to the FLV file.

name

Required: No
Name of the media player.
The name attribute is required when you invoke JavaScript functions.

quality

Required: No
The quality of the media playback Values:
  • high
  • medium
  • low

hideTitle

Required: No
A Boolean value that specifies if you want to hide title for the media player panel Values:
  • NO
  • YES

oncomplete

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

onstart

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

wmode

Required: No
Specifies the absolute positioning and layering capabilities in your browser Values:
  • opaque
  • transparent
  • window

autoPlay

Required: No
A Boolean value that specifies if the media player should automatically play the FLV file on loading the CFM page. Values:
  • NO
  • YES

style

Required: No
Specify style for mediaplayer

Compatibility

ColdFusion:

DEPRECATED since version 2016

Fork me on GitHub