Changes the current size of the media player.
ColdFusion.Mediaplayer.resize("name", "height", "width") |
ColdFusion.Mediaplayer.setMute, ColdFusion.Mediaplayer.setSource, ColdFusion.Mediaplayer.setVolume,
ColdFusion.Mediaplayer.startPlay, ColdFusion.Mediaplayer.stopPlay
ColdFusion 9: Added this function
Parameter |
Description |
|---|---|
name |
Specifies the value of the name attribute of the cfmediaplayer tag. |
height |
The height (in pixels) to set for the media player. The height is 360 pixels, by default. |
width |
The width (in pixels) to set for the media player. The width is 480 pixels, by default. |
This function does not return any value.
In this example, the FLV file is stored in the web root used by the ColdFusion server. Store an FLV file - video.flv in the location _web_root\xyz_.
<h3>This is an example of the Mediaplayer.resize function. Clicking the Resize Mediaplayer button resizes the media player component.</h3> |
Sign in to your account