WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I use a full code for JW Player plugin, not just the shortcode?

I need it so that I can try and use the full code for Lightbox plugin.

share|improve this question
up vote 1 down vote accepted

You can embed the JW Player anywhere by just using the html embed code:

<script type='text/javascript' src='/path/to/jwplayer.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>
    'flashplayer': 'player.swf',
    'file': 'http://content.longtailvideo.com/videos/flvplayer.flv',
    'controlbar': 'bottom',
    'width': '470',
    'height': '320'

If you have options that you want to change, you can always use the JW Wizard.

share|improve this answer
Changed my question to a coding one here. Thanks for your help, you answer was a part of a solution to my actual problem and a complete answer to my question here. – rlesko Dec 16 '11 at 21:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.