>
> Hi
>
> Is there a way to embed a swf (flash) file in banner template, coz
> it seems I can't find the way to do it?
>
> Thanks for help.
>
> br/grega
>
@ Zoran - Thanks, but I hope I know how to embed swf into html, I've done it many times, hehehe... But here through Campsite it is just not working as it should. I even tried several different versions of flash but no luck. It is strange that I can't view this online swf even if I put the link to the file directly in my browser. And I test it on my other websites and it works there, so it is not the flash issue.
I really need this to be working, coz I will use flash also as a main header image.
@Andrey - Thanks, I will consider this as an banner management solution, but still I need flash to be working, because of my main header image.
Hi Grega,
that is how it works for me. I also use Open X and that works, too.
What is a direct link to .swf file?
On Jan 5, 2011, at 11:22 AM, GregaZ wrote:
>
> @ Zoran - Thanks, but I hope I know how to embed swf into html, I've
> done it many times, hehehe... But here through Campsite it is just
> not working as it should. I even tried several different versions of
> flash but no luck. It is strange that I can't view this online swf
> even if I put the link to the file directly in my browser. And I
> test it on my other websites and it works there, so it is not the
> flash issue.
> I really need this to be working, coz I will use flash also as a
> main header image.
> @Andrey - Thanks, I will consider this as an banner management
> solution, but still I need flash to be working, because of my main
> header image.
>
Huh, if it works for you than it has to be something with my campsite settings or even my server settings.
You can check two different links, first points to flash directory (with index.html and pan_rip_300x250.swf) on our old server and it works fine, and second points to same flash folder our new server (running campsite).
Damn, this thing started to drive me crazy! What I'm doing wrong???
what is URL of your campsite publication and swf file
On Jan 5, 2011, at 1:05 PM, GregaZ wrote:
>
> Huh, if it works for you than it has to be something with my
> campsite settings or even my server settings.
> You can check two different links, first points to flash directory
> (with index.html and pan_rip_300x250.swf) on our old server and it
> works fine, and second points to same flash folder our new server
> (running campsite).
> Damn, this thing started to drive me crazy! What I'm doing wrong???
>
- Is Apache correctly configured to serve SWF? This seems unlikely, because if the MIME type were wrong it would serve a bunch of text instead, right? Anyway, if this is the case, try this page: http://www.flashcentral.com/Tech/Server/Apache.htm
- Is the path to the SWF file correct?
- Maybe you could try inserting a different SWF file there to see if that changes anything?
Finally, maybe you could upload the template so that we could see what that looks like?
Douglas Arellanes Director of Innovation Sourcefabric, o.p.s.
OK, I'm one step closer! It is working if I change the movie src in banner template from local server to my old server. So it has to be something with folder or path. Can I use absolute path for local files, coz as fare as I tried, it's not working with "http://{{ $campsite->publication->site }}/templates/..."?
Any other suggestion how should I "call" my swf file in banner template?
Posts: 1,526Member, Administrator, Sourcefabric Team
"http://{{ $campsite->publication->site }}/templates.. is right way. You need to make sure that swf file is accessible. I guess the problem with .htaccess settings. Add line RewriteCond %{REQUEST_URI} !\.swf$ before RewriteCond %{REQUEST_URI} !\.php$
Well Andrey, when I saw your post I was 1000% sure that this would solve my problems, but unfortunately I still can't load swf files.
In fact there is a small effect of the line I added in .htaccess. Before that I was able to see flash banner (only in Firefox!) if I changed the src in the campsite banner template to a same file loaded on my other (old) web server, but now that is gone too.
Is there something else that I have to put in my .htaccess file? BTW - my old webserver is running Debian and my new server is running CentOS if that might help something.
Well - the rest of the page is fine. Browser is endlessly loading the banner and if you right click on the banner spot you get "Movie not loaded...". That's it. I really don't know what else should I try?
Hm. This is really strange. Just to satisfy a question of mine - does this happen for other SWF files too? (I'm just wondering if the SWF file itself might be corrupted).
Douglas Arellanes Director of Innovation Sourcefabric, o.p.s.
Posts: 1,526Member, Administrator, Sourcefabric Team
Looks like this problem with your file or apache. Try wrong path with swf extension (e.g. http://www.itipo.si/templates/itipo-slo/img/header/map_.swf ) You can see the apache 404 error. It means that swf file isn't handled by campsite and .htaccess set up properly.
@ Douglas Arellanes - Yes I can's see any of my swf files.
@ Andrey Podshivalov - OK, than I have a problem with Apache, coz same files works just fine on my other server setup. Dark mystery of Apache, here I come!