I donít see whatís particularly hard to get the JW player working?
On the website I read a detailed two step process:
Step 1: Transfer the player.swf and swfobject.js file from the ZIP to your website. (Make sure that youíve also uploaded all the necessary videos / songs / images to your site.)
Step 2: Embed the player in your HTML page with the lines of code below. Note: If you place the files in different directories, make sure to set the references in this code accordingly.
<p id='preview'>The player will show in this paragraph</p>
var s1 = new SWFObject('player.swf','player','400','300','9');
Notice the flashvars parameter above can contain a list of variables for configuring the player to use different Plugins or Skins. To quickly set up flashvars, use the setup wizard. Simply choose an example, select the variables you want to use and paste the code onto your page. Itís that easy.
And in the example page that comes with the ZIP there is everything you need to see how itís set up. And thereís even a setup wizard. But you donít need that for simple video embedding as the two steps above are all you need.
I really donít know what else I or anybody can tell you. Have you uploaded all the necessary files and specified the correct file paths?
EDIT: After a really long time of testing and playing around, come to find out the whole problem was the file name was wrong, when I downloaded it, it was called player-viral.swf instead of player.swf
One thing I hate is that at the end of the video it gives the public the source to it and it allows them to embed it to their website. How do I delete that part?
Last edited by masterofollies; 05-24-2009 at 03:56 AM..
On their website you see the download box. There is a checkbox that is automatically checked labeled “Include the JW Viral Plugin”. If you mouse over the question mark it’ll explain you what that plugin is. This is also the reason why a download with this option checked is called “player-viral.swf” and not just “player.swf” (like when the checkbox is unchecked).