Using full code instead of shortcode

You can embed the JW Player anywhere by just using the html embed code: <script type=”text/javascript” src=”https://wordpress.stackexchange.com/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.

Problem with JWplayer. Video is missing?

When you work with jwplayer you need to make sure you- Check the supporting file documentation http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12539/supported-video-and-audio-formats If you are using anything other than mp4 its fine. If you are tying to play mp4 files and you are having problem with it (video not playing before it fully loaded) you must swap the index of … Read more

How to create thumbnails in wordpress with jwplayer

I did worked with the plugin YAPB (also possible with standard WordPress thumbnail but needs bit of code moding) and used this setting in the arrays of JW player. It might be not fully automated but you can control your introduction image. <?php if ($post->image): ?> ‘image’: ‘<?php echo $post->image->getThumbnailHref(array(‘w=400′,’h=276′,’q=95′,’zc=1′,’fltr[]=usm|30|0.5|3′)) ?>’, <?php else: ?> ‘image’: … Read more

Multisites, upload issues, and iOS!

After 6 days of pure sadness, this ended up being the fix: http://www.technowut.com/2012/05/14/how-to-stream-videos-to-ios-devices-with-multisite-wordpress/ Here’s how to get it working on CentOS 6 with the packaged Apache httpd: Nils Maier wrote the module for Apache httpd. Download the source and take some time to review the docs there. Compile and install the module on the command … Read more

echo do_shortcode is not working on theme’s template

According to the developer of the jwPlayer it was necessary to implement the plugin as a filter to be able to support ‘.’ in tag attributes. Hence do_shortcode(..) does not work but jwplayer_tag_callback(..) will return the desired result. Matching your example simply execute: echo jwplayer_tag_callback(‘[jwplayer config=”Out-of-the-Box” file=”‘ . $urlbox[0] . ‘” image=”http://www.mywebsite.com/myimage.jpg”]’);