Get a copy of swfobject.js from Google Code
(http://code.google.com/p/swfobject/) and then get a copy of
mediaplayer.swf (can be free, depending:
http://www.longtailvideo.com/players/jw-flv-player/).
Put this in the <head>:
<script type="text/javascript" src="js/swfobject.js"></script>
Then put this on your page:
<div id="player"><!--- This DIV is where the movie will end up
getting written. ---></div>
<script type="text/javascript">
<!--
var so = new SWFObject("swf/mediaplayer.swf", "mpl", "360", "280", "8");
so.addParam("allowscriptaccess", "always");
so.addVariable("height", "280");
so.addVariable("width", "360");
so.addVariable("file", "flv/yourMovieFile.flv");
so.addVariable("frontcolor", "0x333333");
so.addVariable("lightcolor", "0x888888");
so.addVariable("link", "flv/yourMovieFile.flv");
so.addVariable("volume", "100");
so.addVariable("autostart", "true");
so.addVariable("usefullscreen", "true");
so.addVariable("showdownload", "false");
so.addParam("allowfullscreen", "true");
so.addParam("quality", "high");
so.write("player");
//-->
</script>
That should get you started ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326016
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4