PDA

View Full Version : FLV's that are external work fine locally but not uploaded online ?


dmattock
03-08-2008, 01:00 AM
HI I have a site which im using the FLVPlayback component to play my flv videos. Everything works great locally but not when uploaded?
Ive definitally uploaded all the correct files in the correct folders
:confused:
basically any flvs which are in my main.swf work great locally and uploaded!
..But any flvs which are in seperate external swfs then these are loaded into my main.swf work fine locally but do not play at all when uploaded?

So i know flvs work on my server as the ones in my main.swf are fine, does anyone know of this problem? ive been working on this site for ages and it has to be online asap.

I have a crossdomain.xml file uploaded if that is anything to do with it?
Any ideas would be great, THANKS
im working in AS2

atomic
03-08-2008, 02:33 AM
A link to this online?

dmattock
03-08-2008, 01:13 PM
the link is http://www.davidmattock.co.uk, rollover the speakers and go to showreel, you will see the flv loads fine as its in the main.swf...

...then go to my work and the first project that loads is called clickstart, click on load project which is an external swf with the flv in, and it does not play ?

this works fine locally
thanks for looking

atomic
03-08-2008, 04:03 PM
Because your contentPath in your clickstart30sec2.swf is pointing to your hard drive, and not to the .flv on your server...

E:\\website07\\dynamicContent\\video\\projects\\cl ickstart30sec.flv

Change that path to the one on your server, as well I suppose, for all other project .flv paths, and it should work.

dmattock
03-08-2008, 04:34 PM
THANKS so much, my stupid mistake really appreciate it.:)
i didn't realise using the browse to function in flash would add a absolute link.

how could you tell this from just looking at it online out of curiosity ?

I also found the backward slashes ( \ ) dont work but forward slashes ( / ) do ? strange
Thanks again

filipeabreu
03-08-2008, 05:18 PM
While the Internet uses the regular slashes ( / ), operational system uses the inverted slahes ( \ ) when it refers to local directories and files (remember old DOS? or even familiarized with Linux?). But when it comes to Flash in the latest browsers and plugins it really don't make a diference, they can interpreter regular slashes ( / ) or inverted slahes ( \ ) the same way, at least in Firefox and Explorer. But it is always healthier to use regular slashes ( / ) on the Internet environment.

atomic
03-08-2008, 05:21 PM
Grrrrrreat! ;)

I decompiled your .swfs...