postmeta WHERE meta_key LIKE '" . LONGTAIL_KEY . "%';"; $option_query = "DELETE FROM $wpdb->options WHERE option_name LIKE '" . LONGTAIL_KEY . "%';"; $post_query = "DELETE FROM $wpdb->posts WHERE post_type = 'jw_playlist';"; $wpdb->query($meta_query); $wpdb->query($option_query); $wpdb->query($post_query); @unlink(LongTailFramework::getPlayerPath()); @unlink(LongTailFramework::getEmbedderPath()); @rmdir(JWPLAYER_FILES_DIR . "/player/"); $handler = @opendir(JWPLAYER_FILES_DIR . "/configs"); if ($handler) { while ($file = readdir($handler)) { if ($file != "." && $file != ".." && strstr($file, ".xml")) { @unlink(JWPLAYER_FILES_DIR . "/configs/$file"); } } closedir($handler); } @rmdir(JWPLAYER_FILES_DIR . "/configs/"); @rmdir(JWPLAYER_FILES_DIR); update_option(LONGTAIL_KEY . "uninstalled", true); feedback_message(__('Files and settings deleted. The plugin can now be deactivated.')); } function feedback_message ($message, $timeout = 0) { ?>

" method="post" action="">

Shortcode Settings

Configure the source for each page type. This is dependent on your theme which can either pull from the_content or the_excerpt. Optionally you can disable embedding on a specific page type. This will strip out the shortcode.

Category Pages: /> /> /> Configure JW Player shortcode behavior on category pages.
Search Pages: /> /> /> Confgiure JW Player shortcode behavior on search result pages.
Tag Pages: /> /> /> Confgiure JW Player shortcode behavior on tag pages.
Home Page: /> /> /> Confgiure JW Player shortcode behavior on the home page.

Player Settings

Enable Alternative Player Location: /> /> When enabled the plugin will load the player from the specified location.
Player Location: " onblur="form.submit();" style="width: 300px;"/> Configure the location the player.swf and jwplayer.js files should be loaded from.
Select Primary Mode: /> /> Select which mode the player will default to (Flash or HTML5).

Content Settings

Show Duration on Images: /> /> Controls whether the duration field is visible when editing the meta data for images.
Show Insert Button on Images: /> /> Controls whether the insert button is visible when editing the meta data for images.
Enable Facebook Open Graph Data: /> /> Whether or not Facebook Open Graph information should be inserted into the page for sharing on Facebook.

Site Settings

Use SSL when loading the player: /> /> Controls whether the plugin will load the player, configs and skins using https if your site is https. Note:You will need to resave your players after making a change.
Load jwplayer.js/swfobject.js in page head: /> /> Controls whether the plugin will insert the jwplayer.js or swfobject.js files into the head of every page. If set to No jwplayer.js or swfobject.js will only be included on pages where the jwplayer.js shortcode is used.

Uninstall