Embeds allowing bloggers to easily embed videos from Distrify. Just go to any Distrify film page or player and copy the URL. Paste that URL in any WordPress blog and it will automatically be converted to an embedded Distrify player. If you are logged in to distrify.com it will automatically add your affiliate tracking code to your embeds. Make sure you turn on Auto-embeds in your WP settings and also make sure that the URL is on its own line and not hyperlinked (clickable when viewing the post). The plugin also extracts the still image from the film and saves it as the Featured Image for the post. This actually works for any Embed (not just Distrify) that you embed into your WordPress blog. Author: Distrify Limited Version: 0.3.1 Author URI: http://www.distrify.com License: GPL2 Copyright 2011-2013 Distrify (email : hello@distrify.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** * Does the work of adding the Distrify provider to wp_oembed */ function add_distrify_provider($the_content){ require_once( ABSPATH . WPINC . '/class-oembed.php' ); wp_oembed_add_provider('#https?://(www\.)?(distrify|muvies).com/films/.*#i', 'http://distrify.com/oembed.json', true ); wp_oembed_add_provider('http://muvi.es/*', 'http://distrify.com/oembed.json' ); wp_oembed_add_provider('#https?://.*\.muvies.com/.*reviews/.*#i', 'http://distrify.com/oembed.json', true ); } //add the provider on plugins_loaded. add_action('plugins_loaded', 'add_distrify_provider'); /** * from http://wordpress.stackexchange.com/q/70752/1685 * Automatically set the featured image if an oEmbed-compatible embed is found in the post content. * author: TheDeadMedic * author URI: http://wordpress.stackexchange.com/users/1685/thedeadmedic * */ add_action( 'wp_insert_post', array( 'ofi', 'init' ) ); class ofi { /** * The post thumbnail ID * * @var int */ private $_thumb_id; /** * The post ID * * @var int */ private $_post_id; /** * Sets up an instance if called statically, and attempts to set the featured * image from an embed in the post content (if one has not already been set). * * @param int $post_id * @return object|null */ public function init( $post_id ) { if ( ! isset( $this ) ) return new ofi( $post_id ); global $wp_embed; $this->_post_id = absint( $post_id ); if ( ! $this->_thumb_id = get_post_meta( $this->_post_id, '_thumbnail_id', true ) ) { if ( $content = get_post_field( 'post_content', $this->_post_id, 'raw' ) ) { add_filter( 'oembed_dataparse', array( $this, 'oembed_dataparse' ), 10, 3 ); $wp_embed->autoembed( $content ); remove_filter( 'oembed_dataparse', array( $this, 'oembed_dataparse' ), 10, 3 ); } } } /** * @see init() */ public function __construct( $post_id ) { $this->init( $post_id ); } /** * Callback for the "oembed_dataparse" hook, which will fire on a successful * response from the oEmbed provider. * * @see WP_oEmbed::data2html() * * @param string $return The embed HTML * @param object $data The oEmbed response * @param string $url The oEmbed content URL */ public function oembed_dataparse( $return, $data, $url ) { if ( ! empty( $data->thumbnail_url ) && ! $this->_thumb_id ) { // if ( in_array( @ $data->type, array( 'video' ) ) ) // Only set for video embeds $this->set_thumb_by_url( $data->thumbnail_url, @ $data->title ); } } /** * Attempt to download the image from the URL, add it to the media library, * and set as the featured image. * * @see media_sideload_image() * * @param string $url * @param string $title Optionally set attachment title */ public function set_thumb_by_url( $url, $title = null ) { /* Following assets will already be loaded if in admin */ require_once ABSPATH . 'wp-admin/includes/file.php'; require_once ABSPATH . 'wp-admin/includes/media.php'; require_once ABSPATH . 'wp-admin/includes/image.php'; $temp = download_url( $url ); if ( ! is_wp_error( $temp ) && $info = @ getimagesize( $temp ) ) { if ( ! strlen( $title ) ) $title = null; if ( ! $ext = image_type_to_extension( $info[2] ) ) $ext = '.jpg'; $data = array( 'name' => md5( $url ) . $ext, 'tmp_name' => $temp, ); $id = media_handle_sideload( $data, $this->_post_id, $title ); if ( ! is_wp_error( $id ) ) return update_post_meta( $this->_post_id, '_thumbnail_id', $this->_thumb_id = $id ); } if ( ! is_wp_error( $temp ) ) @ unlink( $temp ); } } Electronica/Indie – The Earology Dept. https://www.theearologydept.com Where the food sounds good, and the music is pretty tasty too. Thu, 09 Jul 2015 04:33:34 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.20 50391680 nick leng | inside your mind (ft. carmody) https://www.theearologydept.com/nick-leng-inside-your-mind-ft-carmody/ https://www.theearologydept.com/nick-leng-inside-your-mind-ft-carmody/#respond Sun, 10 May 2015 12:23:16 +0000 http://www.theearologydept.com/?p=12116   Native Cali dude Nick Leng offers the track Inside Your Mind (ft. Carmody) like a rustling whisper drifting sweetly and soft like into the curlicue of your ear. And if you’ve ever been to San Diego it is easy to hear the influence of Mr. Leng’s homey environs holing up inside the music he …

The post nick leng | inside your mind (ft. carmody) appeared first on The Earology Dept..

]]>
Nick Leng Press Photo
 
Native Cali dude Nick Leng offers the track Inside Your Mind (ft. Carmody) like a rustling whisper drifting sweetly and soft like into the curlicue of your ear.

And if you’ve ever been to San Diego it is easy to hear the influence of Mr. Leng’s homey environs holing up inside the music he creates. The crashing waves and general tranquility drip like ambient, sun streaked and cherished memory from the tracks which are the Tunnels and Planes EP, out now courtesy of the Mr. Suicide Sheep label. Peace.
 

 
Artist: Nick Leng
Release: Tunnels and Planes EP
Featured Track: Inside Your Mind (ft. Carmody)
iTunes
 
Tracklisting:
 
1. Tunnel and Planes
2. Leaves
3. Inside My Mind (ft. Carmody)

The post nick leng | inside your mind (ft. carmody) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/nick-leng-inside-your-mind-ft-carmody/feed/ 0 12116
Joe Goddard // Gabriel EP https://www.theearologydept.com/joe-goddard/ https://www.theearologydept.com/joe-goddard/#respond Wed, 04 Apr 2012 02:10:30 +0000 http://mittenmouthmusic.wordpress.com/?p=4998 Joe Goddard, bka Ulysses and fellow Hot Chip accomplice is a force to be reckoned with on so many levels. Let’s see, he’s a more than capable vocalist, a maestro of the synths and syncopated beats. No doubt, his is a world in which making timeless music is not just a means to an end, …

The post Joe Goddard // Gabriel EP appeared first on The Earology Dept..

]]>

Joe Goddard, bka Ulysses and fellow Hot Chip accomplice is a force to be reckoned with on so many levels. Let’s see, he’s a more than capable vocalist, a maestro of the synths and syncopated beats. No doubt, his is a world in which making timeless music is not just a means to an end, it is perhaps life-sustaining. I’m revisiting his August 2011 Gabriel EP for good reason, it transcends this-worldly plain and delivers you right into the arms of seventh heaven. The title-track, “Gabriel” (Ft. Valentina) and “All I Know” are 14 minutes  57 seconds of unadulterated bliss. This is music that nourishes the soul. And you know I just had to provide the optics for you enjoyment too.  See and hear it all after the jump. Peace.


 

The post Joe Goddard // Gabriel EP appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/joe-goddard/feed/ 0 4998
gemini club // by surprise https://www.theearologydept.com/gemini-club-by-surprise/ https://www.theearologydept.com/gemini-club-by-surprise/#respond Fri, 10 Feb 2012 15:41:06 +0000 http://mittenmouthmusic.wordpress.com/?p=4079 Gemini Club is Dan Brunelle, Tom Gavin and Gordon Bramli, an  indie-electronica trio based in Chicago, Illinois. If you like to dance to, or just chill, to kaleidoscopic beats and chilled-on-ice vocals then crank this one. The song, “By Surprise” is the first singe from the bands forthcoming Here We Sit EP, scheduled to drop …

The post gemini club // by surprise appeared first on The Earology Dept..

]]>
When there is music in the air life just seems more bearable.

Gemini Club is Dan Brunelle, Tom Gavin and Gordon Bramli, an  indie-electronica trio based in Chicago, Illinois. If you like to dance to, or just chill, to kaleidoscopic beats and chilled-on-ice vocals then crank this one. The song, “By Surprise” is the first singe from the bands forthcoming Here We Sit EP, scheduled to drop March 14th 2012. But, you can get the Free Download now! And if you Pre-Order the new Here We Sit EP you get immediate access to stream it. Now, that is some goods new that’ll put a smile on your pus. Peace.

The post gemini club // by surprise appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/gemini-club-by-surprise/feed/ 0 4079
alpines // cocoon + video) + why + maya jane coles + carly simon cover https://www.theearologydept.com/alpines-cocoon-video-why-ft-maya-jane-coles-carly-simon-cover/ https://www.theearologydept.com/alpines-cocoon-video-why-ft-maya-jane-coles-carly-simon-cover/#comments Fri, 20 Jan 2012 02:22:15 +0000 http://mittenmouthmusic.wordpress.com/?p=3532 Forgive me. When I first heard the London-based duo Alpines I thought Kate Bush and Siouxsie Sioux had somehow cloned themselves into one supremely gifted entity, but alas ’twas not the case. What was the case? Well, I had chanced upon none other than the lovely Catherine Pockson and the musically stalwart Robert Matthews all …

The post alpines // cocoon + video) + why + maya jane coles + carly simon cover appeared first on The Earology Dept..

]]>

Forgive me. When I first heard the London-based duo Alpines I thought Kate Bush and Siouxsie Sioux had somehow cloned themselves into one supremely gifted entity, but alas ’twas not the case. What was the case? Well, I had chanced upon none other than the lovely Catherine Pockson and the musically stalwart Robert Matthews all up in my ear space!  And the more I heard, I more I grew curious for more. What nerve! I’ve no idea how such groove splashed sounds could have escaped me, but I’ve reconciled my shortcomings with this posting. By the way, I’m enamored to the gills with the Pop/Operatic vocals of Ms. Pockson. So much so, I find myself constantly clicking repeat as I raptly listen again and again. The song Cocoon is an August 2011 release, for which the Hope directed video appears below. And the track Why was released this past November with a little help from the dynamic Mary Jane Coles. Enjoy and as always. Peace.

“Why”

 

The post alpines // cocoon + video) + why + maya jane coles + carly simon cover appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/alpines-cocoon-video-why-ft-maya-jane-coles-carly-simon-cover/feed/ 2 3532
Gauntlet Hair – Top Bunk https://www.theearologydept.com/gauntlet-hair-top-bunk/ https://www.theearologydept.com/gauntlet-hair-top-bunk/#respond Fri, 02 Dec 2011 18:49:57 +0000 http://mittenmouthmusic.wordpress.com/?p=2153 Like most people I love taking trips, even when traveling no further than my own mind. The Lafayette, CO duo Gauntlet Hair take me back and forward simultaneously in my very own Back to the Future-esque sound quest. I’m weird like that didn’t you know? Whatever. Regardless of my mental state at the moment, I …

The post Gauntlet Hair – Top Bunk appeared first on The Earology Dept..

]]>

Like most people I love taking trips, even when traveling no further than my own mind. The Lafayette, CO duo Gauntlet Hair take me back and forward simultaneously in my very own Back to the Future-esque sound quest. I’m weird like that didn’t you know? Whatever. Regardless of my mental state at the moment, I hear so many nice sounds when listening to the song “Top Bunk” and its the categorization of those sound references that I usually avoid. Not this time because this one is such a fun mental mash-up. What I hear is 80’s alternative bands: for instance in my mind if the sound of New Order were genetically merged with the sound of the band Big Country then the resulting mutant would be Gauntlet Hair. Let me know if your feeling me (not literally) on this, well I’m off. Enjoy your trip too. Peace.

 

Also, to back up my 80’s references check out the William Doyle directed video for Gauntlet Hair‘s “Top Bunk” its badass!

The post Gauntlet Hair – Top Bunk appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/gauntlet-hair-top-bunk/feed/ 0 2153
Tree – People (Ft. Shelf Nunny & Lena Kuhn) https://www.theearologydept.com/tree-people-ft-shelf-nunny-lena-kuhn/ https://www.theearologydept.com/tree-people-ft-shelf-nunny-lena-kuhn/#respond Tue, 29 Nov 2011 21:45:21 +0000 http://mittenmouthmusic.wordpress.com/?p=2122 The first struggling notes get your attention. These notes soon sprout into flickering electric bits fleshing out a beautifully morbid soundscape. Not to fret though, its all towards a delicately attractive end. The song “People” is an ode with roots encircling all of us; our own mortality is called front and center and it shines. …

The post Tree – People (Ft. Shelf Nunny & Lena Kuhn) appeared first on The Earology Dept..

]]>
The first struggling notes get your attention. These notes soon sprout into flickering electric bits fleshing out a beautifully morbid soundscape. Not to fret though, its all towards a delicately attractive end. The song “People” is an ode with roots encircling all of us; our own mortality is called front and center and it shines. The San Francisco artist OliverĀ  Nickell aka Tree has enlisted the services of Shelf Nunny and Lena Kuhn on this wonderfully mundane track. Give it a listen and get in touch with your inner Tim Burton. Peace.

The post Tree – People (Ft. Shelf Nunny & Lena Kuhn) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/tree-people-ft-shelf-nunny-lena-kuhn/feed/ 0 2122
Hooray The Earth – Sails https://www.theearologydept.com/hooray-the-earth-sails/ https://www.theearologydept.com/hooray-the-earth-sails/#respond Thu, 08 Sep 2011 14:58:10 +0000 http://mittenmouthmusic.wordpress.com/?p=372 Dreamy and spliced with steady electric rainbow pulses. Yes, this is how my brain describes the NYC rock/synth foursome Hooray For Earth. Over the past several years the alternative music scene has witnessed the welcome return of the synth-driven band, and Hooray for Earth is among the top ensembles in this genre. On their first …

The post Hooray The Earth – Sails appeared first on The Earology Dept..

]]>
Hooray For Earth

Dreamy and spliced with steady electric rainbow pulses. Yes, this is how my brain describes the NYC rock/synth foursome Hooray For Earth. Over the past several years the alternative music scene has witnessed the welcome return of the synth-driven band, and Hooray for Earth is among the top ensembles in this genre. On their first full-length debut LP front-man Noel Heroux and company have crafted some beauteous sound gems, filled with vibrant energy and scattered color schemes straight out of Jackson Pollock’s head. Although their album True Loves dropped earlier this year, if you haven’t listened to it your missing out. I have posted the video for the song “Sails”. The video is filled with twists and turns, with multiple permutations of a woman chasing herself down nearly vacant night time streets. It’s a bit surreal, kinda like Hooray for Earth’s music, but it’s all good. Peace



Hooray For Earth – “Sails” from Dovecote Records on Vimeo.

The post Hooray The Earth – Sails appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/hooray-the-earth-sails/feed/ 0 372