Whatever message this page gives is out now! Go check it out!
ColdFusion.Mediaplayer.setSource("name", newURL) |
Parameter | Description |
name | Specifies the value of the name attribute of the cfmediaplayer tag. |
newURL | The URL to the FLV file. This can be a URL relative to the current page. You can store the FLV file on the ColdFusion server or any other streaming server. |
<h3>This is an example of the Mediaplayer.setsource function. Clicking the Set Source button changes the video playing in the media player.</h3>
<script language="JavaScript" type="text/javascript">
function setSource()
{
ColdFusion.Mediaplayer.setSource('Myvideo',"/xyz/newvideo.flv");
};
</script>
<br>
<form>
<input type="button" name="setSource" value="Set Source"
onClick="setSource()">
</form>
<cfmediaplayer name="Myvideo"
source="/xyz/video.flv"
width=500 height=400 align="middle"
quality="high" fullscreencontrol="true"/>