Page 1 of 1

MP3 Player --> Only black box

Posted: 17 Apr 2013, 20:57
by Laurent
Hello,
I have a problem with the phoca mp3 player...
When i click on "play", i have only a black box :(
If you want test --> lediato.com/tablatures-du-mois-mars-2013.html

Download Folder is "phocadownload"
Download Folder (Play, Preview) is "phocadownload"
I don't have any problem with pdf preview

flowplayer-3.2.2.swf right is 755

If any of you could help me, it would be very nice :)

Sorry for my bad english...

Laurent

Re: MP3 Player --> Only black box

Posted: 20 Apr 2013, 12:28
by Jan
Hi, on that site I see no playable file, but if you run latest Phoca Download, try to see the html of the site - to see if the link to file is right, the file for play should be stored in folder: phocadownloadpap

https://www.phoca.cz/documents/17-phoca- ... ng-folders

Jan

Re: MP3 Player --> Only black box

Posted: 24 Apr 2013, 13:01
by Laurent
Hello,
I tried and I get the same result. A beautiful black box: (
I put the player on the page so that you can see.

Thank you for your help!

Re: MP3 Player --> Only black box

Posted: 24 Apr 2013, 19:42
by Jan
Hi, the player cannot load the file as it has wrong path:
lediato.com/phocadownload/Tablatures/tablature_du_mois/mars_2013/03LaihainPolkkaContrechantenEm.mp3

and it should be:
lediato.com/phocadownloadpap/Tablatures/tablature_du_mois/mars_2013/03LaihainPolkkaContrechantenEm.mp3

you should go to this file edit and upload the mp3 to phocadownloadpap folder and select this file in this folder.

Jan

Re: MP3 Player --> Only black box

Posted: 25 Apr 2013, 00:29
by Laurent
Hello,
So I change the settings phoca :
Download Folder (Play Preview) = phocadownloadpap

I also added my mp3 in phocadownloadpap.
Now the player points to this directory.

But I unfortunately still a black box :(

Have you an idea of ​​solution to my problem?

Thank you so much !

Laurent

Re: MP3 Player --> Only black box

Posted: 25 Apr 2013, 20:24
by Jan
Hi, try to check the path again, If I see the code for playing, there is such link to file:

lediato.com/phocadownloadpap/Tablatures/tablature_du_mois/mars_2013/02LaihianPolkkaThemeenAm.mp3

If I try to link it direclty, it does not appear (maybe this is a security limit, but maybe the path is not right and should be corrected in file edit)

BTW: I see the preview for PDFs is working Ok, so try to compare the paths :idea:

Jan

Re: MP3 Player --> Only black box

Posted: 26 Apr 2013, 11:45
by Laurent
Hi,
Again, thank you for your help!
it is normal that you can not access directly to the file because there is a htaccess like this.:
RewriteEngine On
RewriteCond% {HTTP_REFERER}! ^ Ht tp:// lediato .com. * [NC]
RewriteRule / * ht tp:// lediato .com [R, L]

I tried to remove it but it does not change anything.

Directories have "755".
The files have "644".

I tried with "777", as it does not change anything.

What's weird is that if I right click on the black box, I'm flash information, but not "about flowplayer", it is not as if flowplayer was loading up.

Re: MP3 Player --> Only black box

Posted: 27 Apr 2013, 16:56
by Jan
Hi, I am not .htaccess expert so cannot say :idea: I only tested to access the file include the path and it was not found (or was not allowed) ... no more specific information I get there, I think more information should add the server provider :idea: :-(

Re: MP3 Player --> Only black box

Posted: 30 Apr 2013, 12:02
by Laurent
I found!
I added the "swf" in the formats do not compress in my htaccess.
Like this:
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|swf|mp4|flv|mp3)$ no-gzip
I hope it can serve others.
br
Laurent