Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
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.resize, ColdFusion.Mediaplayer.setMute, ColdFusion.Mediaplayer.setSource,
ColdFusion.Mediaplayer.setVolume, ColdFusion.Mediaplayer.startPlay, ColdFusion.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.