Whatever message this page gives is out now! Go check it out!

Specifying the video poster image, loop playback, and title using the tag cfmediaplayer

Last update:
Jun 9, 2026
  • posterImage: Specify this attribute to set a poster image for the video playback. Takes URL or relative address as value.
  • repeat: Set this attribute to true to continue playback from first to last frame after the media player reaches the end of the video.The default value is false.
  • title: Lets you set title on the media player. The title appears over the media player on upper-left corner. If title is specified and hideTitle is not specified, then hideTitle is set to false. If title is not specified and hideTitle is set to false, then the video filename is displayed as title.

Example

<!DOCTYPE html> 

<html> 

<head> 

</head> 

<body> 

<cfmediaplayer 

name="player_html" 

title="End Game" 

source="/videos/gizmo.ogv" 

posterImage="/images/music.jpg" 

repeat="true"> 

</cfmediaplayer> 

</body> 

</html>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page