The following example shows how you can toggle the full screen control on the <CFMEDIAPLAYER> tag in ColdFusion 9 by setting the Boolean fullScreenControl
attribute.
<cfparam name="URL.showFullScreenControl" default="true" /> <html> <body> <input type="button" value="hide fullScreenControl" onclick="document.location = '?showFullScreenControl=false';" /> <input type="button" value="show fullScreenControl" onclick="document.location = '?showFullScreenControl=true';" /> <cfmediaplayer name="flvPlayer" source="http://helpexamples.com/flash/video/caption_video.flv" autoPlay="true" fullScreenControl="#URL.showFullScreenControl#" /> </body> </html> |