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.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

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!

5.4

Problem with using COLDFUSION, SWFOBJECT.JS and .FLV Files

Asked by PhotoMan2000 in ColdFusion Application Server, JavaScript, Extensible Markup Language (XML)

Tags: , ,

Hi, I'm having a problem getting a dynamic page to display a .FLV file with swfoject.js javascript.
Here's the concept:
1. Dynamically populate a drop down menu with CF from a DB of a list of Flash FLV files.
2. When the page loads there first video in the list will play.
3. When the user changes to another video in the drop down menu, it changes and changes the video being played WITHOUT A PAGE REFRESH

I currently have it coded to work with a <cfdiv> but when I code it to use the swfoject,js it throws an error. Staging there's a problem with the cfdiv (no details)

I think the problem comes in when I'm using the cfdiv and the swfojbect script.
I've tried a few ways and some are over my head.  

Sample code and ideas to follow.Start Free Trial
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> &nbsp;
                <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>
[+][-]08.29.2008 at 10:18PM PDT, ID: 22350739

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 08:05AM PDT, ID: 22367957

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 08:31AM PDT, ID: 22368212

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 10:54AM PDT, ID: 22369690

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 07:21AM PDT, ID: 22377503

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.08.2008 at 02:03PM PDT, ID: 22421601

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.08.2008 at 05:37PM PDT, ID: 22423220

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 06:50AM PDT, ID: 22427305

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 07:21AM PDT, ID: 22427639

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 10:21AM PDT, ID: 22429811

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 12:08PM PDT, ID: 22430985

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 12:08PM PDT, ID: 22430997

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 01:20PM PDT, ID: 22431818

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 03:33AM PDT, ID: 22436873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 06:23AM PDT, ID: 22438037

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 06:24AM PDT, ID: 22438051

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 07:34AM PDT, ID: 22438738

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 08:03AM PDT, ID: 22439068

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 08:27AM PDT, ID: 22439340

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 08:32AM PDT, ID: 22439404

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.10.2008 at 08:43AM PDT, ID: 22439525

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2008 at 01:34PM PDT, ID: 22463634

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.13.2008 at 05:49AM PDT, ID: 22466949

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.14.2008 at 07:02PM PDT, ID: 22475557

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.14.2008 at 07:16PM PDT, ID: 22475593

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 07:02AM PDT, ID: 22478635

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 11:03AM PDT, ID: 22481177

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 01:02PM PDT, ID: 22482293

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 01:45PM PDT, ID: 22482657

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 04:19PM PDT, ID: 22483735

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Application Server, JavaScript, Extensible Markup Language (XML)
Tags: Adobe, ColdFusion, 8
Sign Up Now!
Solution Provided By: dgrafx
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.15.2008 at 09:28PM PDT, ID: 22484888

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.16.2008 at 07:21AM PDT, ID: 22488647

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.20.2008 at 09:47AM PDT, ID: 22530535

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628