Here is the code. I am still trying to figure out firebug. I added the ajaxonload - and now it will not load the first time but does on all clicks after that. Before it would load the first time but not afterwards.
<cfparam name="Preview" default="1"> <cfparam name="url.id" default="0"> <--- a query is here for security check ---> <cfset video = '#mid(GetDrillInfo.path,15,len(GetDrillInfo.path)-18)#'> <cfset start = #GetDrillInfo.previewstart#> <cfset end = #GetDrillInfo.previewend#> <script type="text/javascript"> init = function() { flashembed("videowindow", {src:'../flowplayer/FlowPlayerLight.swf',width: 512, height: 384}, {config: { streamingServerURL: 'rtmp://foo.com/simplevideostreaming', playList: [ { url: '<cfoutput>#video#</cfoutput>', start: <cfoutput>#start#</cfoutput>, end: <cfoutput>#end#</cfoutput>} ], autoPlay: true, Loop: false, usePlayOverlay: false, initialScale: 'scale', protected: true, useNativeFullScreen: true, autoRewind: true, menuItems: [false, false, false, false, false, false], timeDisplayFontColor: 0xE56717, controlBarBackgroundColor: 0 }} ); } </script> </cfoutput> <div id="videowindow"></div> <cfset AjaxOnLoad("init")> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:325508 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4