Click to See Complete Forum and Search --> : Embedding a SWF/FLV file... should be easy right?


Lozzi
09-07-2007, 05:41 PM
Howdy,

Background: the website www.fonsandporter.com offers video and my customer www.keepsakequilting.com has been provided three files for each video, fpr_intro_video.swf, fpr_intro_video.flv and SteelExternalAll.swf. The file fpr.swf references the other two. The flv is the video and the steel.swf is the player controls which overlay the video.

On F&P website the video run great. They sent us these three files and when we put them on our webserver they don't run at all. The object area appears but no video, controls, nothing. I have since moved the files from the production webserver and to a development server http://intervale.delphi-ts.net. All three flash files are in the same directory with the default.htm file. I copied all of the same code from F&P's site(http://www.fonsandporter.com/fp/ourvideos/rulers/index.asp) to our development server and still no luck. Any ideas???

Thanks,

David Lozzi

discorax
09-11-2007, 12:39 PM
Did you move the player skins as well? That could be your problem.

Lozzi
09-11-2007, 07:11 PM
The SteelExternalAll.swf file is the skin file for the player. You should be able to view it by hitting it directly...

Thanks!!

discorax
09-17-2007, 03:07 PM
The SWF they sent you may have a hard coded link rather than a relative link which may create access problems. Do you have access to the FLA file or just the SWF they sent you?

Lozzi
09-27-2007, 03:03 PM
We have confirmed that is not hard coded and is looking for the associated files in the same directory as the SWF is in. I have put it on an IIS6 box setup in IIS5 isolation mode and that doesn't work either, not like it should matter.

What to do??

discorax
09-27-2007, 03:21 PM
looking at the link you provided i see the Object tag is referencing a video at this location: ../../media/flash/rulers/fpr_intro_video.swf

Is this where your video flv is located as well in that folder?

To really help further, I would need to see your source code.

- Ryan

Lozzi
09-27-2007, 03:50 PM
I'm not sure what link you were looking at. That path looks like the Fons and Porter link... The IIS5 link is http://intervale.delphi-ts.net/fpr_intro_video.html.

What source code do you want to see?

discorax
09-27-2007, 03:56 PM
There is definitely a linking problem with between the swf and the FLV.

When I go directly to the SWF in that folder nothing shows up...when I go directly to the FLV nothing shows up...

Try moving it all into a different folder. So your new URL would be:
http://intervale.delphi-ts.net/test/fpr_intro_video.html see if that works. If it does then there is some kinds of web folder structure that's messing your linking up. If that is the case there are WAY to many options for me to trouble shoot with you.

If you move them to the new folder and they still don't work, contact your hosting service provider and ask them if they have an file permissions enabled or something to that effect and explain your situation.

discorax
09-27-2007, 03:59 PM
Also try this html code for testing purposes.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>fpr_intro_video</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<div style="background:#ff0000;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="720" height="550" id="fpr_intro_video" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="fpr_intro_video.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="fpr_intro_video.swf" quality="high" bgcolor="#ffffff" width="720" height="550" name="fpr_intro_video" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
<div>
<p>You Should See this text BELOW your SWF</p>
</div>
</body>
</html>

Lozzi
09-27-2007, 04:01 PM
I applied that script: http://intervale.delphi-ts.net/test/fpr_intro_video.html. What kind of permissions are required in IIS? I am the web site administrator!

discorax
09-27-2007, 04:05 PM
You'd know better than I would then :)

OK...so you can see the SWF now...I'm going to try something real quick...

I tried liking directly to your FLV at http://intervale.delphi-ts.net/test/fpr_intro_video.flv and it didn't work...are you 100% sure that the FLV is located in that file?

Lozzi
09-27-2007, 04:06 PM
I may have found a solution, trying it now.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19439&sliceId=1
thanks

discorax
09-27-2007, 04:08 PM
I don't think you're streaming the FLV, you're doing a progressive download aren't you?

If you are streaming then forget everything I've said, you'll need a Flash Media Server or other equivalent if you want to stream the FLV.

Lozzi
09-27-2007, 04:09 PM
No, i guess i'm not streaming, and that didn't work. Sorry i'm Flash ignorant! Now what...

discorax
09-27-2007, 04:14 PM
Ok...after downloading the FLV you gave me and testing on my own system I'm thinking that the FLV itself is corrupt somehow. I can't get it to work on my system locally...can you get another copy of the FLV from your client?

Lozzi
09-27-2007, 04:15 PM
This is the third copy of the FLV/SWF package we've worked with. I am currently awaiting to hear back from Fons and Porter if these files work on their system. So, I guess I'll post once I hear back from F&P.

Thanks for your support!

discorax
09-27-2007, 04:17 PM
sounds good....good luck!

johnix
10-08-2007, 12:07 AM
try to use this code inside the flash... loadMovieNum("url",level);
level is like the layer in flash... this loadMovieNum will directly load the swf to ure flash or main swf.. but i dont know if this will work for for laoding flv...