If you haven't already done so, download the player zip. This file contains everything you need to get up and running.
Extract the contents of the player zip file and upload them to a location on your web server. We recommend placing everything in a folder called "jwplayer" in the root of your web server. This folder must contain the following files:
The following embed code can be copied and pasted into any page on your site. Note: If you've placed the player files in a location other than /jwplayer, update the paths appropriately.
There are several ways to embed the JW Player on a web page. For the purposes of this guide, we will demonstrate embedding the player using the JW Embedder.
<div id='player'>This div will be replaced by the JW Player.</div>
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>
<script type='text/javascript'>
jwplayer('player').setup({
'flashplayer': '/jwplayer/player.swf',
'width': '400',
'height': '300',
'file': '/videos/video.mp4'
});
</script>
Now that you've embedded the JW Player on your page, check out the Player Configuration Options for a list of additional player features. Or check out the following Getting Started demos: