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

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy