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 ); } } Toronto – The Earology Dept. https://www.theearologydept.com Where the food sounds good, and the music is pretty tasty too. Mon, 27 May 2013 15:47:11 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.20 50391680 still life still // burial suit https://www.theearologydept.com/still-life-still-burial-suit/ https://www.theearologydept.com/still-life-still-burial-suit/#respond Mon, 27 May 2013 15:37:36 +0000 http://www.theearologydept.com/?p=8718 Toronto’s Still Life Still lead vocalist Brendan Saarinen explains it this way, “We wrote it in the dead of winter after a year of demoing and scrapping a lot of songs. It’s about breaking rituals and routines; how love can take you to strange, sometimes messed up places. When we finished recording it, there was …

The post still life still // burial suit appeared first on The Earology Dept..

]]>

Toronto’s Still Life Still lead vocalist Brendan Saarinen explains it this way, “We wrote it in the dead of winter after a year of demoing and scrapping a lot of songs. It’s about breaking rituals and routines; how love can take you to strange, sometimes messed up places. When we finished recording it, there was a weird vibe in the air, like we had started fresh but knew we’d always been there.”

The first single “Burial Suit,” comes from the STS’s forthcoming LP Mourning Trance, which drops August 20 through Arts & Crafts.

After the jump check out the official tracklist and upcoming tour dates. Peace.


 
Mourning Trance:
 
1. Burial Suit
2. Dancing Spines
3. Mourning Trance
4. Aim and React
5. Werewolves
6. In Enemies
7. Revolving Doors
8. Deer Hologram
9. Thinking About Our Plans
10. Hanging With Our Family
 
Tour dates:
 
5/24 Toronto, ON – Opera House
5/28 Edmonton, AB – Starlite Room
5/29 Calgary, AB – Republik
5/31 Vancouver, BC – Electric Ow
6/8 Toronto, ON –  Field Trip Festival *
6/9 St. Catherines, ON – SCENE Fest $
6/11 Hamilton, ON – Casbah $
6/12 Waterloo, ON – Starlight Room $^
6/13 Montreal, QC – Club Lambi $^
6/14 Toronto, ON – NXNE $
6/20 New York, NY – Pianos
6/21 Brooklyn, NY – Union Pool $
 
$ with Gold & Youth
^  with Imaginary Cities

The post still life still // burial suit appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/still-life-still-burial-suit/feed/ 0 8718
jeremy glenn // marching on mix https://www.theearologydept.com/jeremy-glenn-marching-on-mix/ https://www.theearologydept.com/jeremy-glenn-marching-on-mix/#respond Fri, 15 Mar 2013 20:48:25 +0000 http://mittenmouthmusic.wordpress.com/?p=8110 The very buzz worthy forthcoming Mickey release ‘Heartstrings‘ featuring Jeremy Glenn drops next week, and just in case you need a bit of a refresher of Mr. Glenns’ musical skill set listen to the latest JG mixtape ‘Marching On Mix’. It’s more than a ton of fun so come get you some (that rhymed didn’t?). …

The post jeremy glenn // marching on mix appeared first on The Earology Dept..

]]>
Turn it up and dance like there’s no tomorrow…

The very buzz worthy forthcoming Mickey release ‘Heartstrings‘ featuring Jeremy Glenn drops next week, and just in case you need a bit of a refresher of Mr. Glenns’ musical skill set listen to the latest JG mixtape ‘Marching On Mix’. It’s more than a ton of fun so come get you some (that rhymed didn’t?). It’s a free download, so what are you waiting for? Peace.

The post jeremy glenn // marching on mix appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/jeremy-glenn-marching-on-mix/feed/ 0 8110
the weeknd // twenty-eight (explicit = nsfw) https://www.theearologydept.com/the-weeknd-twenty-eight-explicit-nsfw/ https://www.theearologydept.com/the-weeknd-twenty-eight-explicit-nsfw/#respond Wed, 13 Mar 2013 17:15:39 +0000 http://mittenmouthmusic.wordpress.com/?p=8073 The Weeknd is a crooner par excellence and his track (and video) are no exception. If you are a fan of Mr. Abel Tesfaye, well, the song “Twenty-Eight,” has everything you’ve come to expect from this Toronto native. It is soulful, sexy and ringed by vocals that will send shivers across her erogenous zones (hey, …

The post the weeknd // twenty-eight (explicit = nsfw) appeared first on The Earology Dept..

]]>
More like forty-days and forty-nights of something totally intoxicating.

The Weeknd is a crooner par excellence and his track (and video) are no exception. If you are a fan of Mr. Abel Tesfaye, well, the song “Twenty-Eight,” has everything you’ve come to expect from this Toronto native. It is soulful, sexy and ringed by vocals that will send shivers across her erogenous zones (hey, less work for you right?). By the way this video is a bit explicit so handle your business and show some discretion. Peace.

The post the weeknd // twenty-eight (explicit = nsfw) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/the-weeknd-twenty-eight-explicit-nsfw/feed/ 0 8073
born ruffians // with her shadow https://www.theearologydept.com/7953/ https://www.theearologydept.com/7953/#respond Sun, 27 Jan 2013 07:00:45 +0000 http://mittenmouthmusic.wordpress.com/?p=7953 The snow is lightly falling here in Michigan, and like the light and fragile flakes of billowy white the song “With Her Shadow,” by Born Ruffians is tranquility beheld or be-heard (Hey, poetic license is where it’s at). Born Ruffians are gearing up for the release of ‘Birth Marks‘ this spring April 16th. Peace.   …

The post born ruffians // with her shadow appeared first on The Earology Dept..

]]>
Aren’t we all born ruffians?

The snow is lightly falling here in Michigan, and like the light and fragile flakes of billowy white the song “With Her Shadow,” by Born Ruffians is tranquility beheld or be-heard (Hey, poetic license is where it’s at). Born Ruffians are gearing up for the release of ‘Birth Marks‘ this spring April 16th. Peace.


 
Traclkist:
 
1. Needle
2. 6-5000
3. Ocean’s Deep
4. Permanent Hesitation
5. Cold Pop
6. Golden Promises
7. Rage Flows
8. So Slow
9. With Her Shadow
10. Too Soaked to Break
11. Dancing on the Edge of Our Graves
12. Never Age

The post born ruffians // with her shadow appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/7953/feed/ 0 7953
dragonette // live in this city (video exclusive) https://www.theearologydept.com/dragonette-live-in-this-city-video-exclusive/ https://www.theearologydept.com/dragonette-live-in-this-city-video-exclusive/#respond Tue, 18 Sep 2012 05:54:45 +0000 http://mittenmouthmusic.wordpress.com/?p=6748 the generously gorgeous martina sorbara, and those two other human specimens (dan Kurtz and joel stouffer), no diss guys we just really like looking at ms. s with her pouty lips and doe-like eyes. anyway, what was i saying? oh i remember… canadian trio dragonette have a new video for their upbeat and vibrant song, …

The post dragonette // live in this city (video exclusive) appeared first on The Earology Dept..

]]>

the generously gorgeous martina sorbara, and those two other human specimens (dan Kurtz and joel stouffer), no diss guys we just really like looking at ms. s with her pouty lips and doe-like eyes. anyway, what was i saying? oh i remember… canadian trio dragonette have a new video for their upbeat and vibrant song, “live in this city“. in it the band find themselves doing the street dance thing amongst other things. if you find yourself moving about to this one might i suggest heading over to the band’s website and streaming the whole lp? once there you can also pre-order their forthcoming album ‘bodyparts‘and peruse upcoming tour dates and generally get all up in the band’s biz. peace.

The post dragonette // live in this city (video exclusive) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/dragonette-live-in-this-city-video-exclusive/feed/ 0 6748
blue foundation // eyes on fire (zeds dead remix) https://www.theearologydept.com/blue-foundation-eyes-on-fire-zeds-dead-remix/ https://www.theearologydept.com/blue-foundation-eyes-on-fire-zeds-dead-remix/#respond Sun, 12 Aug 2012 18:05:26 +0000 http://mittenmouthmusic.wordpress.com/?p=6498 The Zeds Dead Remix of Blue Foundation‘s “Eyes On Fire” is a sexy serpentine affair making you want to dance like Shiva and inhabit the personal space of the current apple of your eye. Yeah, this is a reach back in distant time and space, but you know like I do that good music persists …

The post blue foundation // eyes on fire (zeds dead remix) appeared first on The Earology Dept..

]]>

The Zeds Dead Remix of Blue Foundation‘s “Eyes On Fire” is a sexy serpentine affair making you want to dance like Shiva and inhabit the personal space of the current apple of your eye. Yeah, this is a reach back in distant time and space, but you know like I do that good music persists and subsists minus an expiration date. After the jump I got a couple other tracks to round out this mini-listening party. Oh and for the ultimate Zeds Dead experience check out the duos Guest Remix for MistaJam. Peace.



The post blue foundation // eyes on fire (zeds dead remix) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/blue-foundation-eyes-on-fire-zeds-dead-remix/feed/ 0 6498
dragonette // rocket ship https://www.theearologydept.com/dragonette-rocket-ship/ https://www.theearologydept.com/dragonette-rocket-ship/#respond Thu, 21 Jun 2012 16:03:57 +0000 http://mittenmouthmusic.wordpress.com/?p=5972 With lyrics like, “your cookies creamy middle yum” the brand new song from Dragonette is a whole lot of fun, albeit risqué, goodness! And as an added bonus the track is yours for the taking as a FREE DOWNLOAD. You can’t beat that with a stick! And just so you know, this song is taken …

The post dragonette // rocket ship appeared first on The Earology Dept..

]]>

With lyrics like, “your cookies creamy middle yum” the brand new song from Dragonette is a whole lot of fun, albeit risqué, goodness! And as an added bonus the track is yours for the taking as a FREE DOWNLOAD. You can’t beat that with a stick! And just so you know, this song is taken from the band’s forthcoming LP Bodyparts which will drop this coming September (US + Canada: Sept 25) and (Europe: Sept 24). But folks there is more!

Get your browser on over to Talenthouse to see the full lyrics of the song of the band’s song, “Untouchable”. Here’s the deal, the Dragonettes invite you to use the lyrics to create your own version of the song. Add music, do it as poetry, make it a film. Whatever you like – make it yours! The winning entry will be the official b-side to a future single, and we’ll give you a fair piece of your version (depending on what you do) if we release it. The contest ends August 17th, so pull out your guitars, laptops, hairbrushes, microphones and get recording! Peace.

The post dragonette // rocket ship appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/dragonette-rocket-ship/feed/ 0 5972
dusted // total dust https://www.theearologydept.com/5869/ https://www.theearologydept.com/5869/#respond Fri, 15 Jun 2012 23:54:08 +0000 http://mittenmouthmusic.wordpress.com/?p=5869 Total Dust is the debut album from Dusted- Brian Borcherdt of Holy Fuck fame and producer Leon Taheny. The ten songs on this compilation is the result of several years spent touring and writing, fleshing out the beautiful sounds which are the bones and sinews of one of the best albums of 2012. Total Dust …

The post dusted // total dust appeared first on The Earology Dept..

]]>

Total Dust is the debut album from Dusted- Brian Borcherdt of Holy Fuck fame and producer Leon Taheny. The ten songs on this compilation is the result of several years spent touring and writing, fleshing out the beautiful sounds which are the bones and sinews of one of the best albums of 2012. Total Dust will be released via CD / LP / MP3 worldwide July 10th 2012. Peace.

The post dusted // total dust appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/5869/feed/ 0 5869
dragonettes // let it go (the knocks remix) https://www.theearologydept.com/dragonettes-let-it-go-the-knocks-remix/ https://www.theearologydept.com/dragonettes-let-it-go-the-knocks-remix/#respond Wed, 13 Jun 2012 15:51:12 +0000 http://mittenmouthmusic.wordpress.com/?p=5834 You want something to get you through another humdrum humpday? Well, I’ve go a willing and able solution in the Dragonettes‘ “Let It Go” (The Knocks Remix). Good stuff. And you can get this remix to as a FREE DOWNLOAD via the Dragonettes Facebook fan page. Peace.  

The post dragonettes // let it go (the knocks remix) appeared first on The Earology Dept..

]]>

You want something to get you through another humdrum humpday? Well, I’ve go a willing and able solution in the Dragonettes“Let It Go” (The Knocks Remix). Good stuff. And you can get this remix to as a FREE DOWNLOAD via the Dragonettes Facebook fan page. Peace.


 

The post dragonettes // let it go (the knocks remix) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/dragonettes-let-it-go-the-knocks-remix/feed/ 0 5834
Trust // Sulk https://www.theearologydept.com/trust-sulk/ https://www.theearologydept.com/trust-sulk/#respond Wed, 29 Feb 2012 23:59:35 +0000 http://mittenmouthmusic.wordpress.com/?p=4506 Yesterday (February 28th) Maya Postepski and Robert Alfons the Toronto-based duo Trust dropped their 2012 full length debut TRST. And so I thought you may like a listen. I mean, I could be so wrong because you may not like robust and darkly groovy musical fare that’ll make you move something otherwise used for sitting …

The post Trust // Sulk appeared first on The Earology Dept..

]]>

Yesterday (February 28th) Maya Postepski and Robert Alfons the Toronto-based duo Trust dropped their 2012 full length debut TRST. And so I thought you may like a listen. I mean, I could be so wrong because you may not like robust and darkly groovy musical fare that’ll make you move something otherwise used for sitting on. Oh, I am such the mischievous music reviewer aren’t I? Don’t answer that. You can purchase TRST on iTunes or Amazon. Peace.

TRST

“Bulbform”

The post Trust // Sulk appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/trust-sulk/feed/ 0 4506