ColdFusion.Mediaplayer.logError

Description

Lets you show custom error message on the media player, if an error occurs during playback.

Function syntax

ColdFusion.MediaPlayer.logError("Name", "Error")

See also

ColdFusion.Mediaplayer.resizeColdFusion.Mediaplayer.setMuteColdFusion.Mediaplayer.setSource

ColdFusion.Mediaplayer.setVolumeColdFusion.Mediaplayer.startPlayColdFusion.Mediaplayer.getType

ColdFusion.Mediaplayer.stopPlay

History

ColdFusion 10: Added this function

Parameters

Parameter

Description

Name

Specifies the value of the name attribute of the cfmediaplayer tag.

Error

The custom error message that you want to display.

Example

See the example for ColdFusion.Mediaplayer.getType

 Adobe

Get help faster and easier

New user?