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

cfmediaplayer Attribute Reference

width

Width of the media player, in pixels.

height

Height of the media player, in pixels.

fullscreencontrol

Whether full screen is enabled Values:
  • NO
  • YES

hideBorder

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

controlbar

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

align

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

onload

Custom JavaScript function to run on loading th player component.

bgcolor

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

source
Required

The URL to the FLV file.

name

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

quality

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

hideTitle

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

oncomplete

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

onstart

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

wmode

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

autoPlay

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

style

Specify style for mediaplayer

Compatibility

ColdFusion:

DEPRECATED since version 2016

Fork me on GitHub