Whatever message this page gives is out now! Go check it out!
ColdFusion.MediaPlayer.getType("name") |
Parameter | Description |
name | Specifies the value of the name attribute of the cfmediaplayer tag. |
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function getPlayback(player)
{
alert(ColdFusion.MediaPlayer.getType("player"));
}
</script>
</head>
<body style="background:#">
<input name = "Source" value="Type" type="button" onClick="getPlayback('player')">
<div>
<cfmediaplayer
fullScreenControl="yes"
name="player"
width=800
height=500
>
<source src="/videos/cathy2_HD.mp4" type="video/mp4" />
<source src="/videos/gizmo.ogv" type="video/ogg" />
</cfmediaplayer>
</div>
</body>
</html>