Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,338 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,807 people online right now. Registration is fast and FREE... Join Now!




Adding a Flash movie onto a web page

 
Reply to this topicStart new topic

Adding a Flash movie onto a web page, SWFObject is not working and I cannot figure out why.

Bort
2 Sep, 2008 - 07:37 AM
Post #1

D.I.C Regular
Group Icon

Joined: 18 Sep, 2006
Posts: 419



Thanked: 4 times
Dream Kudos: 350
My Contributions
Hi all,

One of our company's suppliers has provided a Flash movie regarding one of their new products for us to add to our website. On designing the page for the movie to go onto, I created a table, gave it title, logo, etc and tried to add the movie as an object into one of the table cells.

Here is my code:

In the <head> section:
CODE

        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
        swfobject.registerObject("esign", "7")
        </script>


And in the <body> section where I would like the movie to display:
CODE

            <td>
                <object id="esign" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="575">
                <param name="movie" value="../images/esignanywhere.swf" />
                <object type="x-shockwave-flash" data="../images/esignanywhere.swf" width="800" height="575">
                <p>You must have Flash v7.0 or higher to view this movie</p>
                </object>
                </object>
                </td>


I followed instructions given at code.google.com for this, written by one of the guys who came up with swfobject (apparently).

Can anyone shed any light on why this is not working please?

Thanks,
Bort
User is online!Profile CardPM
+Quote Post

bpb
RE: Adding A Flash Movie Onto A Web Page
8 Sep, 2008 - 05:33 PM
Post #2

New D.I.C Head
*

Joined: 2 May, 2008
Posts: 15



Thanked: 1 times
My Contributions
Sorry I don't have any answers, but I'm also having problems with the SWFobject from code.google.com and I've got basically the same code setup as you do (without the <td> tag). I can load the page, but I just see a blank area where the video should be. If I right click I get the Flash 9 menu options so I know the player is there. But no video or any sign of video. I've tried in Firefox 3 and IE 7. I've tried using the SWFobject method you're using (which I like best because it validates as XHTML along with the rest of my site) with no luck. I'm no help, but I'm extremely interested if someone can help with SWFobject and code.google.com.
User is offlineProfile CardPM
+Quote Post

bmcc81
RE: Adding A Flash Movie Onto A Web Page
9 Sep, 2008 - 06:59 AM
Post #3

D.I.C Head
**

Joined: 10 Jul, 2007
Posts: 164


My Contributions
If you using dreamweaver you can download extensio9n that fixes everything easily for you.

Try this link Download extension


Anyways I use this all the time. You should try it out.



If you using dreamweaver you can download extensio9n that fixes everything easily for you.

Try this link Download extension


Anyways I use this all the time. You should try it out.


User is offlineProfile CardPM
+Quote Post

bpb
RE: Adding A Flash Movie Onto A Web Page
7 Oct, 2008 - 05:05 PM
Post #4

New D.I.C Head
*

Joined: 2 May, 2008
Posts: 15



Thanked: 1 times
My Contributions
QUOTE(bmcc81 @ 9 Sep, 2008 - 09:59 AM) *

If you using dreamweaver you can download extensio9n that fixes everything easily for you.

Try this link Download extension


Anyways I use this all the time. You should try it out.



If you using dreamweaver you can download extensio9n that fixes everything easily for you.

Try this link Download extension


Anyways I use this all the time. You should try it out.


Thanks for the tip, but it seems to be only for Dreamweaver MX/MX2004. I'm using MacromediaAdobe DW CS3 and it doesn't appear to be compatible.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 08:08AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month