[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[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.0

DESPERATELY NEED HELP! - Flash embedded object on ASP.NET page

Asked by jrmcintosh in Programming for ASP.NET, Microsoft Visual Basic.Net, Adobe Flash

Tags: flv, embed, object

I thought I had this thing working at one time, but in doing some testing it now doesn't work. I have an embedded control that loads an flv video on the fly from the database in ASP.NET

I will say that it does works fine on my local machine but I can't figure out why it does not work on my webhost. I have made sure that all files are in the same directory (flash file, video skin, made sure the actionscript calls the right variable, and flv video is there). I've also made sure the data is the same in both places. I have passed in data for the video through the database as well as hard coded video path. Both work on the localhost but not on the web server.

I have attached the control code as well as what I see in the View Source on the webhost. I desperately need a solution before Friday 4/27.

If you need a better description let me know. I'm kind of frazzled right now and don't know if I've done a good job here.

Control code:
CreateFLVEmbeddedControl(phembed, Session("tootfile"), Session("width"), Session("height"))

Private Sub CreateFLVEmbeddedControl(ByVal phembed As PlaceHolder, ByVal location As String, ByVal width As Integer, ByVal height As Integer)
        Dim result As New HtmlGenericControl
        phembed.Controls.Add(result)
        Dim embed As New HtmlGenericControl
        result.Controls.Add(embed)
        ' Embed tag.
        embed.TagName = "embed"
        embed.Attributes.Add("width", Session("width"))
        embed.Attributes.Add("height", Session("height"))
        embed.Attributes.Add("type", "application/x-shockwave-flash")
        embed.Attributes.Add("src", "tootvid.swf")
        embed.Attributes.Add("FlashVars", "flvFileName=" + location + "")
        ' Object tag
        result.TagName = "object"
        result.Attributes.Add("classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000")
        result.Attributes.Add("codebase", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0")
        result.Attributes.Add("width", Session("width"))
        result.Attributes.Add("height", Session("height"))
        'result.Attributes.Add("ID", "flvPlayer")
        result.Controls.Add(New LiteralControl("<param name=""movie"" value=""tootvid.swf""/>"))
        result.Controls.Add(New LiteralControl("<param name=""quality"" value=""high""/>"))
        result.Controls.Add(New LiteralControl("<param name=""bgcolor"" value=""""/>"))
        result.Controls.Add(New LiteralControl("<param name=""FlashVars"" value=""flvFileName=" + location + """/>"))

    End Sub

View Source HTML:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
<embed width="800" height="600" type="application/x-shockwave-flash" src="tootvid.swf" FlashVars="flvFileName=v_43_uw.flv"></embed>
<param name="movie" value="tootvid.swf"/><param name="quality" value="high"/><param name="bgcolor" value=""/>
<param name="FlashVars" value="flvFileName=v_43_uw.flv"/>
</object>
 
Related Solutions
Keywords: DESPERATELY NEED HELP! - Flash …
 
Loading Advertisement...
 
[+][-]04/23/07 06:43 PM, ID: 18962985Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 05:53 AM, ID: 18965265Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/07 05:59 AM, ID: 18965307Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 06:07 AM, ID: 18965356Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 06:34 AM, ID: 18965591Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/07 06:51 AM, ID: 18965730Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 06:56 AM, ID: 18965772Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/07 07:38 AM, ID: 18966143Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 08:02 AM, ID: 18966345Accepted Solution

View this solution now by starting your 30-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: Programming for ASP.NET, Microsoft Visual Basic.Net, Adobe Flash
Tags: flv, embed, object
Sign Up Now!
Solution Provided By: CyanBlue
Participating Experts: 1
Solution Grade: A
 
[+][-]04/24/07 08:10 AM, ID: 18966429Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 08:17 AM, ID: 18966506Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 08:23 AM, ID: 18966551Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/07 08:32 AM, ID: 18966635Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 08:41 AM, ID: 18966735Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/07 09:00 AM, ID: 18966934Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 09:03 AM, ID: 18966959Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/24/07 11:30 AM, ID: 18968148Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/24/07 11:43 AM, ID: 18968300Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81