Advertisement
Advertisement
| 08.28.2008 at 02:58PM PDT, ID: 23687329 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: |
<!- this is the original that breaks-->
<cfform><cfoutput> <b>Now Viewing:</b>
<cfselect name="selectedVideo">
<cfloop from="1" to="#application.maxProfileVideos#" index="i">
<cfset currentVideoChoice = "agentInfo.video" & i />
<cfif evaluate(currentVideoChoice) gt 0>
<cfset currentVideo = application.objVideos.getVideo(evaluate(currentVideoChoice))/>
<option value="#currentVideo.ID#">#currentVideo.Title#</option>
</cfif>
</cfloop>
</cfselect>
</cfoutput>
</cfform>
<cfinclude template="includes/videopreviewJ.cfm">
<!-- this sample might work, but needs help with the cfajaxproxy -->
<!-- Same select code as above-->
<cfajaxproxy bind="url:http://patht/to/file/videopreviewJ2.cfc">
<cfoutput>#videoName#</cfoutput>
<!-- cfc contents -->
<cfcomponent>
<cfset this.dsn = "wlcn2">
<cffunction name="getVideo" access="remote" returntype="string" output="no">
<cfparam name="videoID" default="1" />
<cfquery datasource="wlcn2" name="videos">
SELECT * FROM wlcnvideos
Where ID = '#videoID#'
</cfquery>
<cfset videoName = #ListLast(videos.url,'/')#>
<cfreturn videoName>
</cffunction>
</cfcomponent>
one alternate idea is to include the entire swfobject script on the main cfm page like this and some how modivy the javascript.
<!-- Same select code as above-->
<!-- swfobject script -->
<script type="text/javascript" src="/js/swfobject.js"></script>
<div id="wlcnVideo">This text will be replaced!</div> --->
<script type="text/javascript">
var so = new SWFObject('/streams/2008/video-overlay.swf','mpl','600','338','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('height','338');
so.addVariable('width','600');
so.addVariable('file','rtmp://path/to/filefolder//');
so.addVariable('id','THIS-NEEDS-TO-BE-DYNAMICALLY-CHANGED');
so.addVariable('autostart','false');
so.write('wlcnVideo');
</script>
|