XFileSharing Pro - embed mp3 error

Message
Author
PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

embed mp3 error

#1 Postby PowerChaos » Jul 22, 2010 2:02 pm

hi all
there is a small error with the embed mp3

maybe it is only me or maybe not

it is a small error :P so not a realy big problem and i just like to let you know about it


the error is that the mp3 that is embed only shows a part
and not the full song


as example
the original mp3 file on the site is 3:14
the embed mp3 is 3:05
it is missing 10 seconds

not sure if it is only me or that it is realy a small bug

Greetings From PowerChaos

catalingmn
Posts: 15
Joined: Mar 27, 2010 1:24 pm

Embed player problem

#2 Postby catalingmn » Dec 05, 2010 3:35 am

Hello,

I have the same error, just that in my case, on the site the player plays the full song (lets say 4:00), and on site using the embed player code shows only 2:00. Please help, I really need to fix it!

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#3 Postby PilgrimX182 » Dec 08, 2010 9:35 am

I strongly believe it's problem of JW Player. It reads metadata incorrectly sometimes.
Try any other flash player.

Setting track length in player code can help, but need to parse mp3 length, and that's another story :)

catalingmn
Posts: 15
Joined: Mar 27, 2010 1:24 pm

#4 Postby catalingmn » Dec 09, 2010 3:13 pm

Here's an example. It'll play the full song on my website site, but when it's embedded it cuts off part of it..
http://keepittrill.com/media/2010/12/di ... lil-wayne/ (the site with embed) - 2:00 sec

http://www.freefilessharing.com/9wp36idoct2t (my filesharing site) - 3:36 sec


Some songs only play 20 seconds and others play half.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#5 Postby komi » Dec 09, 2010 3:25 pm

That is because the duration parameter is missing from the embed code.

Add to flashvars:

Code: Select all

&duration=<TMPL_VAR mp3_secs>

catalingmn
Posts: 15
Joined: Mar 27, 2010 1:24 pm

tnx komi

#6 Postby catalingmn » Jan 05, 2011 9:39 pm

tnx for your help and I need to ask you something else ..

How I make the script to generate embed code for mp3 directly when the uploads finishes, near the download link, link for forum, html code, delete code tabs ?