The following example shows how you can determine when a Flash Player video has finished playing by specifying the onComplete
attribute of the <CFMEDIAPLAYER> tag in ColdFusion 9.
Tag Archives: onStart
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.