Category Archives: CFMEDIAPLAYER

Dynamically starting and stopping a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

The following example shows how you can dynamically start and stop a video using JavaScript and the <CFMEDIAPLAYER> tag in ColdFusion by calling the ColdFusion.Mediaplayer.startPlay() and ColdFusion.Mediaplayer.stopPlay() functions.

Continue reading Dynamically starting and stopping a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

Dynamically setting the volume on a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

In a previous example, “Muting a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion”, we saw how you could dynamically mute a video using the <CFMEDIAPLAYER> tag at runtime using JavaScript and ColdFusion by calling the ColdFusion.Mediaplayer.setMute() function.

The following example shows how you can dynamically set the volume on the <CFMEDIAPLAYER> tag at runtime using JavaScript and ColdFusion by calling the ColdFusion.Mediaplayer.setVolume() function.

Continue reading Dynamically setting the volume on a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

Calling a JavaScript function when a video starts playing in the CFMEDIAPLAYER tag in ColdFusion 9

In a previous example, “Displaying videos using the CFMEDIAPLAYER tag in ColdFusion 9”, we saw how you could display an .FLV video in your ColdFusion website using the <CFMEDIAPLAYER> tag and specifying the source property.

The following example shows how you can call a custom JavaScript function when a video starts playing in the <CFMEDIAPLAYER> tag by specifying the onStart attribute.

Continue reading Calling a JavaScript function when a video starts playing in the CFMEDIAPLAYER tag in ColdFusion 9