Add Spotify, Rdio, and GitHub’s Gist Embeds To Your Site
We’re happy to announce three new things that you can embed into your site!
Spotify
Embed music from Spotify by right-clicking any song, album, or artist in Spotify and selecting “Copy HTTP Link” or “Copy Spotify URI”:
Then paste that into your post editor, making sure that it’s located on its own line all by itself. You’ll end up with something like this when you view your post:
Rdio
If you’re an Rdio user, you can embed music from them too. Copy the URL from your address bar when looking at a track, artist, or playlist and paste that into your post editor. Here are a few examples:
If you use the Mac application for Rdio you can copy URLs from there as well. If you click the “Share” button you’ll see a URL to copy right at the top. Paste that in to your post editor and you’re all set.
GitHub’s Gist
We’re big fans of the code repository website GitHub here at Automattic and many of us use their Gist code snippets website. While we already have a cool way to embed code into your site, we realize many of you want to post Gist-hosted snippets too so starting today you can. Again, just copy/paste the URL out of your address bar onto its own line in the post editor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$query_args = array( | |
'foo' => 'bar', | |
'apple' => 'orange', | |
'posts_per_page' => 50, | |
'offset' => 0, | |
); | |
$some_posts = new WP_Query( $query_args ); | |
while ( $some_posts->have_posts() ) { | |
/* | |
* Do some stuff here | |
*/ | |
// Get more posts | |
$query_args['offset'] = $query_args['offset'] + $query_args['posts_per_page']; | |
$some_posts = new WP_Query( $query_args ); | |
} |
- April 18, 2012
- Audio, Embeds, New Features
i love this….
LikeLike
Very cool new feature!!!
LikeLike
This could really upgrade my blog! Great share!
LikeLike
Well, I can´t get it to work. Ok, got a link, but no player.
LikeLike
Make sure it’s a plain-text URL and not a clickable hyperlink, i.e. don’t use the add link button and instead just paste the URL into your post.
Alternately you can wrap it in a shortcode, like so:
(or
rdio
orgist
)LikeLike
Thanks Alex, it works great! As an old WordPresser I like it! Well done!
LikeLike
Reblogged this on danielbachhuber.
LikeLiked by 1 person
Is it free or premium/upgrade?
LikeLike
It is a free feature. 🙂
LikeLike
Well done!
LikeLike
Reblogged this on pravinchn.
LikeLike
Reblogged this on Gpvprasad's Blog.
LikeLike
Well done!
LikeLike
Reblogged this on Don Temón and commented:
Interesante. Podré poner música en el blog. Me gusta…
LikeLike
This just made my ability to share songs via wordpress so much more awesome. Thanks!!!
LikeLike
Cool!
LikeLike
Sweet!
LikeLike
thanks for the information…:))
LikeLike
thanks
LikeLike
i still don not understand how to embed GitHub to WordPress.. 😦
LikeLike
You can’t embed GitHub projects into your site, just code snippets that are hosted on their Gist snippet site.
LikeLike
Reblogged this on rachelempowernetwork and commented:
Wow this is such a cool idea I just had to sure with you guys. I’m thinking about adding it myself!
LikeLike
Reblogged this on Neraka69's Blog.
LikeLike
This is amazing!!!!!! Can’t wait to do this.
LikeLike
A nice feature, man! Do not wait to start using it.
Every day is more rewarding in the WordPress blogging!
Congratulations, Alex! Nice work!
And thank you!
Hugs from Brazil!
LikeLike
Great stuff, this should brighten my blog up, kind regards
LikeLike
*its own line
LikeLike
Good catch. Fixed, thanks!
LikeLike
Thank you so much, this are great features 😉
LikeLike
Awesome! One more reason to love WP!
LikeLike
great idea
LikeLike
really really awesome 😀
LikeLike
Awesome, cool dude 😀
LikeLike
Reblogged this on Konstantin on WordPress.com.
LikeLike
Very nice!!!!
LikeLike
Awesome! 🙂 Will use the Spotify one! 🙂
LikeLike
Sweet. Love the Spotify addition.
LikeLike
Any idea how this plays out with the Intellectual Property laws? For instance, does Spotify carry the burden of paying that when you embed their stuff on your site or are you still on the hook for it?
LikeLike
This is a no-cost feature. Spotify handles all of the licensing agreements.
LikeLike
hey thank you this is so good post
LikeLike
Great! Does it work for Spotify playlists as well as for tracks and albums?
LikeLike
Yep!
LikeLike
What an awesome new feature–thanks!
LikeLike
On the Spotify Free Option, you are limited to listening to one song five times in a month . So if the Spotify link is listened to five times in one month, then presumably the link will no longer work, until the next month ?
LikeLike
Any account limitations are per-person, not per embed.
LikeLike
Thank you .
LikeLike
It didn’t quite work with the method provided (copy spotify url and paste as picture indicates), but snatching the real URL and posting — voila! Brilliant. And, thanks for the feature. 🙂
LikeLike
Does this work if I put it on my sidebar or a widget? I’m using the Bueno template and would like to have a playlist static on the side,
Thanks.
LikeLike
Yep, you can use the text widget for this but you’ll need to use the shortcode (
[spotify]url here[/spotify]
) rather than just the URL by itself.LikeLike
Reblogged this on cashzilla and commented:
This is great!
LikeLike
Great feature! 😀 it’s not working for me though 😦
LikeLike
This is AWESOME!
LikeLike
Awesome! Definitely using this to share music I work out to.
LikeLike
Well, instead of single songs only, most of us would like to post full playlists. What about?
LikeLike
Playlists are supported. 🙂
LikeLike
very cool!!
LikeLike
interesante!!
LikeLike
amazing
LikeLike
Reblogged this on My Blogbabystrollerpeople.com.
LikeLike
Reblogged this on ifcindylouonlyknew.
LikeLike
This is cool – but you need to remove formatting on the code in order for it to work – I have now gone back through my site and added it to all my posts – excellent!
LikeLike
Reblogged this on computermob.
LikeLike
I take it there’s no way of text wrapping around the player, or of embedding the compact, small-artwork version, as seen on Pitchfork reviews e.g. http://pitchfork.com/reviews/albums/16534-blunderbuss/. The problem with the embedding on WordPress.com as is, is that the player is a bit obtrusive, attracting the reader’s attention rather than the text.
LikeLike
Tried to download Spotify and it was blocked by Chrome for a possible Win 32 infection. Did this happen to anyone else?
LikeLike
You can download Spotify safely from here: http://www.spotify.com/us/get-spotify/overview/
If you’re getting a warning about a download from there then it’s a false positive (error).
LikeLike
This is amazing, I love technology!
LikeLike
Wonderful idea since music inspires my artwork Jazz in particular. Thanks for this information.
LikeLike
Does the viewer need to have Spotify installed for this to work on their computer? or will it work regardless?
LikeLike
It will prompt them to install Spotify if they don’t have it installed.
LikeLike
The Spotify integration is a winner!! Very nice!
LikeLike
Ok, I have Spotify on my desktop, but what’s a page editor? Help I’m drowning in technology and can’t find my way out….
Thanks.
LikeLike
The post editor is where you write your posts.
LikeLike
Will we be soon able to embed Deezer ? Thanks 🙂
LikeLike
You can suggest ideas for new features here: https://wordpress.com/forums/forum/ideas 🙂
LikeLike
Reblogged this on makeyourmarkonlife.
LikeLike
Really Looking forward to adding this to my blog page. How do i attract more readers? Any add-ons that would help?
LikeLike
Check out this previous post from this blog: How to get more page views for your blog
LikeLike
That’s a great tip. Thank you. Will look it up now!
LikeLike
Really great
LikeLike
It’s shame Spotify isn’t ready available for non-US peoples. I guess iTunes will have to do.
LikeLike
Very nice
LikeLike
Great features! I learn something new everyday on WordPress.
LikeLike
Reblogged this on unicornivore and commented:
THIS LOOKS AWESOME
LikeLike