0

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.

1

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.

1
  • 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. – rlab Dec 16 '11 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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