Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Geting started


Hi - I am interested in having the JW player on my site. I downloaded the Self-Hosted Player, and then upped the files to my server. I see I am going to use this code:

<div id="myElement"></div>

<script>
jwplayer("myElement").setup({
file: "/uploads/myAudio.aac",
width: 480,
height: 30
});
</script>

But here is what I don't get. There apparently is the need to have other code earlier in the page. I see the Self-Hosted Player License Key - but where do I find the other code that goes in the <head> of the page? I looked at the QS Guide, but dont see it. Thanks!

4 Community Answers

JW Player

User  
0 rated :

It's just a ref to the script that goes in the head plus the license key below

<script src="http://<REF>/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="KEY";</script>

JW Player

User  
0 rated :

See the embedding guide:

http://www.longtailvideo.com/support/jw-player/28839/embedding-the-player

JW Player

User  
0 rated :

Got it - thanks for the quick replies!

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it!

This question has received the maximum number of answers.