Reallusion 3D animation software

Download
Buy
Upgrades

How to add and control embedded Windows Media File (WMV) created by CrazyTalk to your website:
The Windows Media (WMV) file is seamlessly added to an HTML page and provides you with two buttons to control playback.


 

The code looks like this:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body>

<!-- Begin Windows Media Embed Code </!-->

<OBJECT ID="Player" width="98" height="98"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM name="URL" value="yourWMVfilehere.wmv">
<PARAM name="uiMode" value="none">
</OBJECT>


<!-- End Windows Media Embed Code </!-->

<br>

<!-- Start Buttons Code for controlling Windows Media </!-->

<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">


<SCRIPT>
<!--
function StartMeUp ()
{
Player.URL = "yourWMVfilehere.wmv";
}

function ShutMeDown ()
{
Player.controls.stop();
}
-->
</SCRIPT>

<!-- End buttons code for controlling Windows Media </!-->

</body>
</html>