PDA

View Full Version : Embed flash into HTML


arthurakay
11-15-2008, 02:25 PM
I must preface this by saying I'm not a Flash programmer.

I'm running a website for my church, and they've put together a movie. The videographer provided me with the .swf, .flv, and .js files I'm supposed to need to run it.

Here's the deal: it all works when it's hosted on the videographer's website. When I copy each file to our church site (not changing any code), the Flash movie won't play.

At first I thought it might be some odd server setting which prevented it from playing, so I uploaded everything to my own website -- and still nothing.

>>> http://dev.akawebdesign.com/STMVideo110208.html

The player's skin shows in the browser (IE and Fx), but the movie never loads. Can anyone help shed light on this?

For the record, both the church site and my own are running Windows 2003. I've got Flash 9 installed in both of my browsers... and I have no idea about how the Flash files are actually coded.

arthurakay
11-15-2008, 02:27 PM
One more thing... I also tried using the SWFObject (JavaScript) method to embed the file into my HTML page, but the same thing happens. I'm almost convinced this is a server issue...

gnomeontherun
11-15-2008, 03:25 PM
The FLV file name is "AH FINAL DRAFT - Mobile.flv", and it isn't in the folder with the SWF from what I can tell. Did you get the video file copied as well?

arthurakay
11-15-2008, 07:33 PM
The FLV file name is "AH FINAL DRAFT - Mobile.flv", and it isn't in the folder with the SWF from what I can tell. Did you get the video file copied as well?

It's there:
http://dev.akawebdesign.com/AH_FINAL_DRAFT_-_Mobile.flv

Does the SWF file not have the underscores? Like I said, I never edited these files because I don't know Flash or ActionScript.

arthurakay
11-15-2008, 07:54 PM
So I copied the .FLV file and replaced the underscores in the filename with spaces. Magically, things work.

The idiot videographer named the .FLV file incorrectly when he sent it to me.

Thanks to everyone for their help!

itsallkizza
11-15-2008, 09:15 PM
Your "idiot" programmer isn't the brightest (for using spaces period) but it's not his fault the name was different. Every email program I know renames attached files if they have spaces.

arthurakay
11-15-2008, 10:57 PM
You have a good point... but he didn't email the files. He posted them in a zipped file which I downloaded directly from his site.

Maybe 'idiot' was a harsh word... but i'm super frustrated with him.