Link to home
Start Free TrialLog in
Avatar of camoh
camohFlag for United States of America

asked on

Embed Adobe Flash Video code into simple web page

Hi,

I need some help to embed this code into a very simple internal web page for use by our staff for training.

<object width="425" height="256"><param name="movie" value="http://images.tv.adobe.com/swf/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="fileID=6088&context=434&embeded=true&environment=production"></param><embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6088&context=434&embeded=true&environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="256"></embed></object>


This code is available at this website...

http://tv.adobe.com/watch/learn-indesign-cs5/getting-started-what-is-indesign-cs5/

I would like to embed this using Visual Studio 2005 ASP.NET. It doesn't just seem so simple as to insert this into an aspx webform.

My level of knowledge in ASP is very limited. I have IIS and ASP installed and have been able to publish a few pages but have not had great success with this Flash Video.

Your help would be greatly appreciated!
Avatar of jorge_toriz
jorge_toriz
Flag of Mexico image

I think if you embed your code directly in your source code (aspx) it would run without problems... what is happening?, what are you getting?
Avatar of camoh

ASKER

Hi,

I attached the code that I have inserted into my aspx webform.

I get these errors...

Error    1    Validation (XHTML 1.0 Transitional): Element 'param' is an empty element and cannot have a closing tag. Instead, it must end with />.    C:\Users\<username>\Documents\Visual Studio 2005\Projects\AdobeTraining\AdobeTraining\WebForm1.aspx    12    106    AdobeTraining
Error    2    Validation (XHTML 1.0 Transitional): Element 'param' is an empty element and cannot have a closing tag. Instead, it must end with />.    C:\Users\<username>\Documents\Visual Studio 2005\Projects\AdobeTraining\AdobeTraining\WebForm1.aspx    12    157    AdobeTraining
Error    3    Validation (XHTML 1.0 Transitional): Element 'param' is an empty element and cannot have a closing tag. Instead, it must end with />.    C:\Users\<username>\Documents\Visual Studio 2005\Projects\AdobeTraining\AdobeTraining\WebForm1.aspx    12    212    AdobeTraining
Error    4    Validation (XHTML 1.0 Transitional): Element 'param' is an empty element and cannot have a closing tag. Instead, it must end with />.    C:\Users\<username>\Documents\Visual Studio 2005\Projects\AdobeTraining\AdobeTraining\WebForm1.aspx    12    312    AdobeTraining
Error    5    Validation (XHTML 1.0 Transitional): Element 'embed' is not supported.    C:\Users\<username>\Documents\Visual Studio 2005\Projects\AdobeTraining\AdobeTraining\WebForm1.aspx    12    319    AdobeTraining

Hope this makes sense.

I'll check back in the morning to see if there are other comments...

Good night....

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="AdobeTraining.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
<object width="425" height="256"><param name="movie" value="http://images.tv.adobe.com/swf/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="fileID=6088&context=434&embeded=true&environment=production"></param><embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6088&context=434&embeded=true&environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="256"></embed></object>
    </div>
    </form>
</body>
</html>

Open in new window

Avatar of camoh

ASKER

Another thing that it does is it will start more than one voice stream if you click on it more than once... :(

What am I doing wrong?
ASKER CERTIFIED SOLUTION
Avatar of jorge_toriz
jorge_toriz
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of camoh

ASKER

I now get only one error. See error message below...

Error      1      Validation (XHTML 1.0 Transitional): Element 'embed' is not supported.      C:\Users\Stephen\Documents\Visual Studio 2005\Projects\AdobeTraining\AdobeTraining\WebForm1.aspx      17      18      AdobeTraining

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="AdobeTraining.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <object width="425" height="256">
                <param name="movie" value="http://images.tv.adobe.com/swf/player.swf"/>
                <param name="allowFullScreen" value="true"/>
                <param name="allowscriptaccess" value="always"/>
                <param name="FlashVars" value="fileID=6088&context=434&embeded=true&environment=production"/>
                <embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6088&context=434&embeded=true&environment=production"
                    type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
                    width="425" height="256"/>
            </object>
        </div>
    </form>
</body>
</html>

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of camoh

ASKER

Thank you very much for all your help!