hi everyone
was testing out nifty player and i wanted to upload my nifty player files to a central domain, along with the mp3 files and then link to this location with my landers
from my testing, it doesn't seem like this is possible?
is it true that you need to load nifty player in the same directory as your landers every time? or am i doing something wrong?
here is my code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="165" height="37" id="niftyPlayer1" align=""> <param name=movie value="http://domain.com/niftyplayer/niftyplayer.swf?file=hi.mp3&as=1"> <param name=quality value=high> <param name=bgcolor value=#FFFFFF> <embed src="http://domain.com/niftyplayer/niftyplayer.swf?file=hi.mp3&as=1" quality=high bgcolor=#FFFFFF width="165" height="37" name="niftyPlayer1" align="" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object>
sorry, one more thing to confirm...
from my testing all we need is "niftyplayer.swf" and the audio file for the sound to play correctly.
"niftyplayer.js" is not needed cause i am not using javascript part... AND "niftyplayer.fla" is no use as well?
thanks!
Hey Harry, Yes you have to place all the files in the same folder as your LP at all times. This is the order I keep files together so the audio works fine on my lander with the code being placed before the closing body tag:
main.css
niftyplayer.js
niftyplayer.fla
congratulations.mp3
Hope that helps :-)
You can place the audio as well as the niftyplayer.js and .swf file wherever you want and it works well. It just buffers a bit more if your on a slow host, that's all :-) You have to use absolute url's to make it work from one destination though.