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 ); } } Alternative Hip Hop – The Earology Dept. https://www.theearologydept.com Where the food sounds good, and the music is pretty tasty too. Wed, 08 Jul 2015 19:46:36 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.20 50391680 angel haze | battle cry | acoustic https://www.theearologydept.com/angel-haze/ https://www.theearologydept.com/angel-haze/#respond Mon, 24 Mar 2014 00:16:39 +0000 http://www.theearologydept.com/?p=11512   Angel Haze is all kinds of precious. Yet, she possesses a strength which appears as if it was gleaned from bedrock. Here her Battle Cry anthem gets stripped down, but still somehow sounds stronger. The original track Battle Cry is taken from her debut album Dirty Gold out now under exclusive license to Universal …

The post angel haze | battle cry | acoustic appeared first on The Earology Dept..

]]>

 
Angel Haze is all kinds of precious. Yet, she possesses a strength which appears as if it was gleaned from bedrock. Here her Battle Cry anthem gets stripped down, but still somehow sounds stronger. The original track Battle Cry is taken from her debut album Dirty Gold out now under exclusive license to Universal Island Records. Peace.
 

 

 
Angel Haze Battle Cry lyrics:
 
Money cannot buy
All the love that’s here tonight
All the love that’s here tonight
Ouh-ouh
It’s just you and I
So lift your hands toward the sky
Lift your hands toward the sky
Ouh-ouh

[Angel Haze]
It seems like yesterday that I was nothin’
Then all of a sudden I’m a volcanic eruption
Then all of a sudden it’s like spontaneous combustion
And I’m all up in your face yellin’: “Bitch, you can tell me nothin’.”
Cause I came from the bottom, now everybody’s watchin’
I said it was my time, now I’m who everybody’s clockin’
And I’m just out here sprintin’, I’m runnin’ right through my vision
I’m trying to outrun my past, but still trying to defeat my limits
Cause you only get one moment in this life to be great
And you can give it your all despite what it takes
And you never let ’em kill you, you take everything they give you
And throw it right fuckin’ at ’em and tell ’em it doesn’t build you
And no it don’t ever break you, and no it can’t overtake you
Life’s like a bed of roses, you take the thorns and you make do
Sometimes you have to hurt for the cause to be reached
But one day you’ll be stronger than all that you beat
And you can say

[Sia]
Money cannot buy
All the love that’s here tonight
All the love that’s here tonight
Ouh-ouh
It’s just you and I
So lift your hands toward the sky
Lift your hands toward the sky
Ouh-ouh

[Angel Haze]
I woke up one Sunday morning, stopped believing in Jesus
Stopped believing in churches, I stopped believing in preachers
I realized I was a teacher, not just one of the heathens
I’m born to destroy the fallacies, start creating believers
Start creating the leaders, tell ’em who they should follow
Nobody but themselves, especially if they hollow
Especially when they empty and death reserves for fulfillment
You the only person alive who holds the key to your healin’
So you take it and you run with it
And keep going even when your sun’s hidden
Because the time we spent in darkness when the rain come
Is where we often find the light soon as the pain’s done
There ain’t no material things in the world
That can change the fact that you feel alone
Despite the fact that it gets hard,
You take it all and you still go
Take the sun and you still grow,
Lose the light and you still glow
I been there, I’m still here and I know how you feel, so

[Sia]
Money cannot buy
All the love that’s here tonight
All the love that’s here tonight
Ouh-ouh
It’s just you and I
So lift your hands toward the sky
Lift your hands toward the sky
Ouh-ouh

[Bridge]
We don’t wanna fight
So sing with me your battle cry
Sing with me your battle cry
Ouh-ouh
Money cannot buy
All the love that’s here tonight
All the love that’s here tonight
Ouh-ouh

[Angel Haze]
It’s hard to explain my way of living to people who never lived it
A minute in my position filled with my opposition
That anybody not different fighting to stay the same
I got lives in my hands and I’m fighting to make ’em change
Couldn’t accept responsibility, find somebody to blame
The emotions that I’m harboring ’bout to drive me insane
Tried to say fuck everything, but I ain’t have a heart to
Rarely had a heart to do a lot of things I ought to
So now I spit it for people who say their cords missing
Inspire life into anybody that’s forfeiting
Cause it’s easy to keep pretending that there’s nothing wrong
But it’s harder to keep your head up and be fucking strong
So, now they tell me, “Go, Haze, they can’t stop you.
Heavyweight flow, if they can’t lift you then they can’t drop you
The pinnacle, if they can’t reach you then they can’t drop you
Man, they can’t do anything that you’re about to.”

[Sia]
Money cannot buy
All the love that’s here tonight
All the love that’s here tonight
Ouh-ouh
It’s just you and I
So lift your hands toward the sky
Lift your hands toward the sky
Ouh-ouh

We don’t wanna fight
So sing with me your battle cry
Sing with me your battle cry
Ouh-ouh
Money cannot buy
All the love that’s here tonight
All the love that’s here tonight
Ouh-ouh

The post angel haze | battle cry | acoustic appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/angel-haze/feed/ 0 11512
kid cudi // satellite flight: the journey to mother moon https://www.theearologydept.com/kid-cudi-statellite-flight-journey-mother-moon/ https://www.theearologydept.com/kid-cudi-statellite-flight-journey-mother-moon/#respond Wed, 26 Feb 2014 13:55:46 +0000 http://www.theearologydept.com/?p=11295   Kid Cudi seems to always engage in the unexpected. Whether it is penning creative mind-warping lyrics or progressive and on-point mash-ups with unlikely musicians, he keeps it stupefyingly interesting and just-after-the-rain fresh. The last 24-hours, although a surprise, is a classic Kid Cudi antic, and he drops not just a track or two or …

The post kid cudi // satellite flight: the journey to mother moon appeared first on The Earology Dept..

]]>

 
Kid Cudi seems to always engage in the unexpected. Whether it is penning creative mind-warping lyrics or progressive and on-point mash-ups with unlikely musicians, he keeps it stupefyingly interesting and just-after-the-rain fresh.

The last 24-hours, although a surprise, is a classic Kid Cudi antic, and he drops not just a track or two or even an EP, but a whole full-length LP. Satellite Flight: The Journey to Mother Moon is from beginning to end a full-blown astral intra-stellar travelogue. Listen to song by song as it unfurls and revels an event horizon vantage point that’ll illuminate and continually fascinate your ears no end. My favs are Balmain Jeans, Return Of The Moon Man (Original Score) and the Radiohead tinged Troubled Boy. Great release.

You can cop it from Google Play, Amazon and also via iTunes. Peace.
 
Satellite Flight: The Journey to Mother Moon tracklist:
 
01. Destination: Mother Moon
02. Going To The Ceremony
03. SATELLITE FLIGHT
04. Copernicus Landing
05. Balmain Jeans
06. Too Bad I Have To Destroy You Now
07. Internal Bleeding
08. In My Dreams 2015
09. Return Of The Moon Man (Original Score)
10. Troubled Boy

The post kid cudi // satellite flight: the journey to mother moon appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/kid-cudi-statellite-flight-journey-mother-moon/feed/ 0 11295
vex ruffin // same thing tomorrow https://www.theearologydept.com/vex-ruffin-same-thing-tomorrow/ https://www.theearologydept.com/vex-ruffin-same-thing-tomorrow/#respond Sat, 03 Nov 2012 01:13:07 +0000 http://mittenmouthmusic.wordpress.com/?p=7190 the current cassette release ‘same thing tomorrow’ marks a broader introduction to the world at large for the chino, california-based singer/songwriter vex ruffin. the songs he creates are simple, but more than effective at not only capturing the golden era of alternative but moves the genre forward by both sounding and not sounding like bands …

The post vex ruffin // same thing tomorrow appeared first on The Earology Dept..

]]>

the current cassette release ‘same thing tomorrow’ marks a broader introduction to the world at large for the chino, california-based singer/songwriter vex ruffin. the songs he creates are simple, but more than effective at not only capturing the golden era of alternative but moves the genre forward by both sounding and not sounding like bands and acts like new order, peter murphy. check out his song, “same thing tomorrow”. peace.


 
Track List:
 
Side A
1. “I Focus (Born To Be Vex)”
2. “Do It Big”
3. “Release”
4. “Flaming Torch”
5. “Same Thing Tomorrow”

Side B
1. “Dark Room”
2. “Roll With The Punches”
3. “I Can’t Seem To Find It”
4. “Zoo (Part 2)”
5. “It’s In My Soul”

The post vex ruffin // same thing tomorrow appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/vex-ruffin-same-thing-tomorrow/feed/ 0 7190