JW Player 6 Code

Basic code for Jw Player 6

<script type=”text/javascript” src=”/jwplayer/jwplayer.js”></script>
<script type=”text/javascript”>jwplayer.key=”ABCDEFGHIJKLMOPQ”;</script>

 

Note: A key is not required to use the Free edition, but will still be available from your JW Player Account. Including your key will enable the free JW Player Analytics for your account.

 

 

Embed Code

When the script and key are set, scroll down to theof your HTML page and insert the JW Player embed code at the place you want your video to appear:

 

<div id=”myElement”>Loading the player…</div>
<script type=”text/javascript
jwplayer(“myElement”).setup({
file: “/uploads/myVideo.mp4″,
image: “/uploads/myPoster.jpg”
});
</script>