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
Flash swf file doesn't display in multimedia content part
-
- Posts: 69
- Joined: Sun 4. Jan 2009, 13:30
Flash swf file doesn't display in multimedia content part
Last edited by achilehero on Tue 7. Sep 2010, 09:35, edited 1 time in total.
Re: Flash swf file doesn't display in multimedia content part
Hi,
have a look into the generated source, that is the reason why it don´t work:
E.g.:
-> 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
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">
-> 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 )
-
- Posts: 69
- Joined: Sun 4. Jan 2009, 13:30
Re: Flash swf file doesn't display in multimedia content part
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
-> Cp-trigger: Multimedia: Copy SWF file in a non-protected directory
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 69
- Joined: Sun 4. Jan 2009, 13:30