Page 1 of 1

Flash swf file doesn't display in multimedia content part

Posted: Mon 6. Sep 2010, 20:56
by achilehero
Hi!

I am using the latest phpwcms 1.4.6 (2010/03/30, r402). When using the multimedia CP to display a Flash swf file and using the "internal file" option (a swf file uploaded from the backend), the file doesn't display/load in the front end. If I use the "external file" option and upload the file in a folder by ftp and give the url address, the file displays. Does anybody know why this happens?
I have also tried to use the NonverBlaster:hover and JW Player with the flash player CP, and the file uploaded in the backend still won't display. Can anyone tell me, please why this happens? Could it be some security problems? The file stored in the filearchive cannot be loaded because of some problems?

Please help!

Thanks,

Cristian

Re: Flash swf file doesn't display in multimedia content part

Posted: Tue 7. Sep 2010, 08:54
by flip-flop
Hi,

have a look into the generated source, that is the reason why it don“t work:

E.g.:

Code: Select all

<param name="movie" value="filearchive/21947bda3053e1ea5d8bc3cff40b9113.swf">
-> open the folder /filearchive/
-> rename filearchive/.htaccess to e.g. _htaccess

or write an small script in /frontend_int/ -> cp-trigger.
This script could be copy the selected file for example to /content/tmp/ and aadapt the source code of the CP.

Knut

Re: Flash swf file doesn't display in multimedia content part

Posted: Tue 7. Sep 2010, 09:34
by achilehero
Thanks a lot again Knut! I looked at the files permissions, but didn't look at the .htacces file. The permissions were ok for the file but the .htaccess was "deny from all". Thanks! You saved the day again! :)

Re: Flash swf file doesn't display in multimedia content part

Posted: Tue 7. Sep 2010, 14:39
by flip-flop

Re: Flash swf file doesn't display in multimedia content part

Posted: Tue 7. Sep 2010, 14:41
by achilehero
Thanks again!