Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 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'>
  jwplayer('mediaspace').setup({
    'flashplayer': 'player.swf',
    'file': 'http://content.longtailvideo.com/videos/flvplayer.flv',
    'controlbar': 'bottom',
    'width': '470',
    'height': '320'
  });
</script>

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. –  John Doe Dec 16 '11 at 21:44

Your Answer

 
discard

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.