Flash swf file doesn't display in multimedia content part

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
achilehero
Posts: 69
Joined: Sun 4. Jan 2009, 13:30

Flash swf file doesn't display in multimedia content part

Post by achilehero » Mon 6. Sep 2010, 20:56

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
Last edited by achilehero on Tue 7. Sep 2010, 09:35, edited 1 time in total.

User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

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

Post by flip-flop » Tue 7. Sep 2010, 08:54

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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )

achilehero
Posts: 69
Joined: Sun 4. Jan 2009, 13:30

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

Post by achilehero » Tue 7. Sep 2010, 09:34

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! :)

User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

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

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

>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )

achilehero
Posts: 69
Joined: Sun 4. Jan 2009, 13:30

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

Post by achilehero » Tue 7. Sep 2010, 14:41

Thanks again!

Post Reply