Well, after trying everything I can think of, this isn't working. Could 
there possibly be some mime type issues with the .flv files? I'm testing 
this on my local development box, WinXP Pro, CF8, using the built-in web 
server with CF.

Jason Fisher said the following on 9/4/2009 6:14 PM:
> 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 ...

-- 
Best regards,

Chris Montgomery

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:326031
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to