Description
Used to get the current playback type, if Flash or HTML player.
Function syntax
ColdFusion.MediaPlayer.getType("name") |
See also
ColdFusion.Mediaplayer.resize, ColdFusion.Mediaplayer.setMute, ColdFusion.Mediaplayer.setSource,
ColdFusion.Mediaplayer.setVolume, ColdFusion.Mediaplayer.startPlay, ColdFusion.Mediaplayer.stopPlay
History
ColdFusion 10: Added this function
Parameters
Parameter |
Description |
---|---|
name |
Specifies the value of the name attribute of the cfmediaplayer tag. |
Returns
This function returns the playback type as Flash or HTML 5.
Example
<!DOCTYPE html> |