Toggling the full screen control on the CFMEDIAPLAYER tag in ColdFusion 9

Readability

Toggling the full screen control on the CFMEDIAPLAYER tag in ColdFusion 9

The fol­low­ing exam­ple shows how you can tog­gle the full screen con­trol on the <CFME­DI­APLAYER> tag in Cold­Fu­sion 9 by set­ting the Boolean fullScreenControl attribute.





    
    
    
    
    
    


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>

Leave a Reply

Your email address will not be published.