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 string

Width of the media player, in pixels.

height string

Height of the media player, in pixels.

fullscreencontrol boolean

Whether full screen is enabled
Values:
  • false
  • true

hideBorder boolean

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

controlbar boolean

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

align string

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

onload string

Custom JavaScript function to run on loading th player component.

bgcolor string

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

source string
Required

The URL to the FLV file.

name string

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

quality string

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

hideTitle boolean

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

oncomplete string

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

onstart string

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

wmode string

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

autoPlay boolean

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

style string

Specify style for mediaplayer

Compatibility

ColdFusion:

DEPRECATED since version 2016

Fork me on GitHub