I want to use JW Player / FLV Player for an audio-only mp3 player.
I used the setup wizard to generate code, and am using the "Stylish" skin.
I am not using the Viral-2 plugin because I'm not sure how it would work with an audio-only version of the player (because there is no screen, only a control bar).
But I want to enable some sharing functions, so I've tried to use the "Sharing" plugin. In the setup wizard, when I enable the plugin, a small icon replaces the standard "link" icon on the controlbar, which is what I want.
But on my test page, no icon appears at all, for link or sharing. I've tried a number of things with the code, but can't get the plugin to work at all.
Here is a link to my TEST PAGE:
http://www.fudomouth.net/thinktank/reservoir_real.htm
Below is my code. I haven't yet changed the "sharing.code" variable because I don't really know what it should be.
Any help is much appreciated! Thanks in advance!
<script type='text/javascript'>
var so = new SWFObject('../accessory/playerscript/player-viral.swf','mpl','416','30','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('author','Author');
so.addVariable('description','Description');
so.addVariable('file','tempweigh.mp3');
so.addVariable('link','Link');
so.addVariable('title','Title');
so.addVariable('backcolor','000000');
so.addVariable('frontcolor','CCCCCC');
so.addVariable('lightcolor','6666FF');
so.addVariable('screencolor','000000');
so.addVariable('link','tempweigh.mp3');
so.addVariable('skin','../accessory/playerscript/stylish_slim.swf');
so.addVariable('plugins','sharing-1');
so.addVariable('sharing.link', 'http://www.fudomouth.net/audiomation/staticandsoul.htm');
so.addVariable('sharing.code', '%3Cembed%20src%3D%22http%3A%2F%2Fdeveloper.longtailvideo.com%2Fplayer%2Ftrunk%2Fas3%2Fplayer.swf%22%20flashvars%3D%22file%3D..%2Ftesting%2Ffiles%2Fbunny.mp4%22%20width%3D%22400%22%20height%3D%22300%22%20%2F%3E');
so.addVariable('dock','false');
so.write('mediaspace');
</script>
Oh yeah, I have two more quick questions!
1. As you can see, my code includes "author" and "description" variables, which I saw in the setup wizard and wanted to experiment with (haven't put any actual info in yet).
However, nothing displays for these variables at all, at least with my audio-only player.
Are these variables only for video (something that displays on screen) or are they meta-data for Sharing / Linking?
Will they do me any good, or should I get rid of them?
2. When I right click on my test player I see "stretching is xxxx...." -- what is this option? Should I disable it for the audio-only player?
Thanks for any help -- I really wish Long Tail had better instructions for audio-only players!