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

  • 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>

Adobe logo

Sign in to your account